You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Dr. Allefeld,
When the ‘date’ in 'spm.mat' contains chinese characters(it is due to the system's language setting), Funcation 'Checksum' will prompt the UID is ‘invalid data’.
I removed the call to the ‘date’ by modifying the code in cvManovaSearchlight.m(line 56,57):
The problem is, I have no idea how to fix this. Theoretically, getfield(dir('SPM.mat'), 'date') should return a regular Matlab string, which is then translated into numbers by data = double(data(:)); in fletcher16. The only idea I have is that maybe the SPM.mat file was created on a system with a different locale than that on which cvmanova is run, leading to a string with invalid data.
If you'd like me to look into this further, you could send me the SPM.mat file, e.g. through a filesharing service.
Also, could you copy & paste the exact and complete error message?
And which version of Matlab & SPM do you use?
Dear Dr. Allefeld,
When the ‘date’ in 'spm.mat' contains chinese characters(it is due to the system's language setting), Funcation 'Checksum' will prompt the UID is ‘invalid data’.
I removed the call to the ‘date’ by modifying the code in cvManovaSearchlight.m(line 56,57):
after that it runs smoothly, maybe there is a better way to solve the bug.
Thanks sincerely for your work.
best
Liu
The text was updated successfully, but these errors were encountered: