Hello,
I am trying to modify the spm_defaults.m file in order to customise the mask threshold (defaults.mask.thresh). As explained in the file help, I have created a new file named spm_my_defauts.m in Matlab startup folder. When I try the spm_get_defaults command to verify the modification, I obtain:
>> spm_get_defaults
Execution failed: /Users/fernanda/Documents/MATLAB/spm_my_defaults.m
Warning: Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.
In spm_my_defaults at 216
In run at 57
In spm at 1207
In spm_my_defaults at 213
In run at 57
In spm at 1207
.
.
.
In spm_defaults at 213
In spm_get_defaults at 28
Defaults settings have been modified by file(s):
/Users/fernanda/Documents/MATLAB/spm_my_defaults.m
Modified fields: mask
ans =
cmdline: 0
ui: [1x1 struct]
renderer: 'zbuffer'
images: [1x1 struct]
mat: [1x1 struct]
tbx: [1x1 struct]
dicom: [1x1 struct]
stats: [1x1 struct]
mask: [1x1 struct]
slicetiming: [1x1 struct]
realign: [1x1 struct]
coreg: [1x1 struct]
unwarp: [1x1 struct]
normalise: [1x1 struct]
smooth: [1x1 struct]
imcalc: [1x1 struct]
old: [1x1 struct]
When running a 1st level analysis I obtain these same errors. It seems that no change is been done in the masking step, even when I use, just to see if something happens, really lower thresholds (e.g. 0.01) than the spm default (0.8).
Any help would be appreciated. Thanks in advance.
Fernanda
|