Back to the main page.
Bug 2422 - pos2dim3d needs the statistics toolbox for a simple zscore
Status | CLOSED FIXED |
Reported | 2013-12-13 14:18:00 +0100 |
Modified | 2014-01-15 14:49:25 +0100 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P5 enhancement |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2013-12-13 14:18:41 +0100
I found out because we ran out of licenses... K>> pos2dim3d(pos) License checkout failed. License Manager Error -4 Maximum number of users for Statistics_Toolbox reached. Try again later. To see a list of current users use the lmstat utility or contact your License Administrator. Troubleshoot this issue by visiting: http://www.mathworks.com/support/lme/R2012b/4 Diagnostic Information: Feature: Statistics_Toolbox License path: /Volumes/Data/roboos/.matlab/R2012b_licenses:/Applications/MATLAB_R2012b.app/licenses/license.dat:/Applications/MATLAB_R2012b.app/licenses/network.lic Licensing error: -4,132. Error in pos2dim3d (line 39) dpos = zscore(abs(diff(pos,[],1))); 39 dpos = zscore(abs(diff(pos,[],1)));
Jan-Mathijs Schoffelen - 2013-12-13 15:01:02 +0100
What's even more interesting: the function is not called from anywhere ;-). pos2dim should be the one to go for, but this one also has a call to zscore...
Jan-Mathijs Schoffelen - 2013-12-13 15:08:24 +0100
updated on revision 9032: removed pos2dim3d and replaced zscore with manual computation (i.e. subtract mean and divide by std)