I think the ismac.m script was introduced in later versions of matlab. 
You can just create your own with the following content:

function y=ismac

y=0;

return


On 02/15/2017 01:59 PM, aral ahmadi wrote:
> From: Douglas N Greve
>  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?
>
> Aral's answer:
> I am working through VPN and connect to a Linux server using my laptop 
> (Thinkpad2011). Not sure which version of Matlab, this freesurfer5.3 
> home directory uses, but I have matlab2010 opened on linux when I ran 
> LGI command. although in job output file, it shows a warning that 
> Matlab starting without a display, then it says <MATLAB> copyright 
> 1984-2005 the Mathwork. Inc, version7.1.0.183 (R14) service pack3, 
> Aug2,2005
>
> Thanks,
> Aral
>
>  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

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to