Dear experts
I have a question regarding Freesurfer- LGI error I got during running LGI after all recon steps been ran with no problem. you could see the error below.
*reading filled volume...* *??? undefined function or variable 'ismac'.* *error in -->load_mgh at 68*
*if(strcmp(computer,'MAC') || strcmp(computer,'MAC') || ismac)*
*error in -->MRIread at 87*
*[mri, voi, M, mr_parms, volsz] = load_mgh (fspec, [], [], headeronly);*
*error in --> make outer-surface at 24*
*vol = MRIread(filled_volume);*
*>> ERROR:make _outer_surface did not creat output file 'net/storage1/usr2/onrc/home/p2/Aahmadi/onrc/data/Aral-july/test/subject* *Linux compute31 2.6.32-504.12.2.e16.*86_64 #1 SMP Wed Mar11 UTC 2015 86_64 86_64 GNU/Linux*
*recon-all -s S1091RPY existed with Errors at thu jan19 2017*
The error is ...Undefined function or variable 'ismac' - matlab is expecting that variable to be defined (it's trying to detect the OS, whether Linux, windows/ Mac), but it isn't.
I appreciate if you give me your advice on this issue.
Thanks, Aral
So ismac.m is not defined in your matlab implementation? What version of matlab are you using? What kind of computer are you running on?
On 02/02/2017 01:48 PM, aral ahmadi wrote:
Dear experts
I have a question regarding Freesurfer- LGI error I got during running LGI after all recon steps been ran with no problem. you could see the error below.
*reading filled volume...
*??? undefined function or variable 'ismac'.* *error in -->load_mgh at 68*
*if(strcmp(computer,'MAC') || strcmp(computer,'MAC') || ismac)*
*error in -->MRIread at 87*
*[mri, voi, M, mr_parms, volsz] = load_mgh (fspec, [], [], headeronly);*
*error in --> make outer-surface at 24*
*vol = MRIread(filled_volume);* ** *>> ERROR:make _outer_surface did not creat output file 'net/storage1/usr2/onrc/home/p2/Aahmadi/onrc/data/Aral-july/test/subject* *Linux compute31 2.6.32-504.12.2.e16.*86_64 #1 SMP Wed Mar11 UTC 2015 86_64 86_64 GNU/Linux*
*recon-all -s S1091RPY existed with Errors at thu jan19 2017*
The error is ...Undefined function or variable 'ismac' - matlab is expecting that variable to be defined (it's trying to detect the OS, whether Linux, windows/ Mac), but it isn't. *
I appreciate if you give me your advice on this issue.
Thanks,
Aral
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu