> Hi, I've recently downloaded the latest version of the spm_segment.m file
> and now the whole segmentation tool is just not working. This is the error
> message:
>
> ??? Error: File: C:\matlabR12\spm2\spm_segment.m Line: 226 Column: 18
> Expected a variable, function, or constant, found "&".
>
> Error in ==> C:\matlabR12\spm2\spm_segment_ui.m (segment_ui)
> On line 193 ==> spm_segment(VF{i},VG,flags);
>
> Error in ==> C:\matlabR12\spm2\spm_segment_ui.m
> On line 137 ==> segment_ui(defaults.segment);
>
> ??? Error while evaluating uicontrol Callback.
>
> Sorry if there was any question about this before, is just that my server
> is offline and I can't check it now.
Sorry about that. The updated version had a few '&&' symbols which don't work
for Matlab versions older than 6.5. I've removed these from the updated
spm_segment.m. I hope it works now.
Best regards,
-John
|