Dear Jay Chen,
for some reason, SPM/MATLAB is not able to interpret the filename
correctly. Are there any whitespaces, umlauts or other non-US-ASCII
characters in the path and filename? If so, this may be part of the
problem.
Volkmar
Am Samstag, den 16.02.2008, 17:26 +0800 schrieb jay chen:
> Dear All:
>
> When I use 'display' to show an MR image (Analyze format), SPM5
> gives me the error message below (I attach the output in the SPM5
> Graphics window with this e-mail). But I don't have any trouble to
> open this MR image using MRIcro or Pmod programs. Could someone tell
> me how to fix this problem? Thanks in advance.
>
> Jay Chen
>
> ??? Cant get filename.
>
> Error in ==> spm_image at 106
> set(st.in,'String',sprintf('%g',spm_sample_vol(st.vols{1},pos(1),pos(2),pos(3),st.hld)));
>
> Error in ==> spm_orthviews at 258
> eval(st.callback);
>
> ??? Error using ==> if
> strcmp(get(gcf,'SelectionType'),'normal'),spm_orthviews('Reposition');elseif
> strcmp(get(gcf,'SelectionType'),'extend'),spm_orthviews('reposition');spm_orthviews('context_menu','ts',1);end;
> Cant get filename.
>
> ??? Error while evaluating axes ButtonDownFcn
--
Volkmar Glauche
Freiburg Brain Imaging
http://fbi.uniklinik-freiburg.de/
Phone +49(0)761 270-5331
Fax +49(0)761 270-5416
|