Re: [Marsbar-users] aal with SPM5??
Status: Beta
Brought to you by:
matthewbrett
|
From: Matthew B. <mat...@gm...> - 2007-09-29 19:37:19
|
Hi, If you put that text in the .mat files (how?) it will mess them up. You just need the lines I sent you in the .m file... Matthew On 9/26/07, miao <qi...@is...> wrote: > > Hi Matthew, > thanks!! I have put the code into three different files, > gin_list_dlabels.mat included. > there is still error message but it can still go until the window to 'select > an labelised atlas' in which i have nothing to select (it is empty). So I > can only close it and the error message reads: > > Error in ==> gin_list_dlabels at 331 > eval(['load ',strrep(MNI,'.img','_List.mat')]); > > The code there: > MNI=spm_get(1,'.img','select an labelised atlas'); > MNID=spm_vol(MNI); > eval(['load ',strrep(MNI,'.img','_List.mat')]); > %ROI.ID > %ROI.Nom_C > %ROI.Nom_L > eval(['load ',strrep(MNI,'.img','_Border.mat')]); > %BORDER_XYZ > %BORDER_V > > I have checked that the files ROI_MNI_V4_Border.mat and ROI_MNI_V4.img are > ok, and I have tried to modify the parameters of the functions but it didn't > work. > Do you have some idea? Thank you very much for your help. > > Miao > > > > Matthew Brett wrote: > > > > Hi, > > > >> Warning: Unable to interpret TeX string "\prive\NIFTI EPI\2nd-s8 typ > >> word". > > > > This is just a benign warning about a text string display. > > > >> ??? Error using ==> gin_dlabels; > >> Undefined function or variable "defaults". > > > > This is the error causing the crash of your script or function. I > > don't know where this script comes from, but it looks as though the > > author forgot to initialize the spm defaults with something like > > > > global defaults > > if isempty(defaults) spm_defaults; end > > > > Best, > > > > Matthew > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Marsbar-users mailing list > > Mar...@li... > > https://lists.sourceforge.net/lists/listinfo/marsbar-users > > > > > > -- > View this message in context: http://www.nabble.com/aal-with-SPM5---tf4522920.html#a12905057 > Sent from the MarsBaR mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Marsbar-users mailing list > Mar...@li... > https://lists.sourceforge.net/lists/listinfo/marsbar-users > |