Re: [Marsbar-users] aal with SPM5??
Status: Beta
Brought to you by:
matthewbrett
|
From: Qing C. <qi...@is...> - 2007-09-29 21:15:40
|
Hi Matthew, yes that's what i have done, sorry I meant .m files including gin_list_dlabels.m, it works well but then there were still other errors like that i can't open any file from the select window before i changed the function 'spm_get' to 'spm_select', so at last I'm not sure that aal works with SPM5 and I switched to marsbar-aal-0.. Thank you so much for your help and have a good weekend, :) Qing Matthew Brett a écrit : >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 >> >> >> -- ************************************************************************ Qing CAI Institut des sciences cognitives 67, boulevard Pinel 69675 Bron Cedex, France Telephone: +33 (0)4 37 91 12 53 E-mail : Qin...@is... ************************************************************************ |