Hi Sarina, Thanks for the log, I see better the problem. However I unfortunately don't know the answer. The lGI calls MRIread and load_mgh, and the error seems to related to load_mgh.m itself.
Bruce / Doug / Nick, any guess what can yield such a "switch expression must be a scalar or string constant" error in load_mgh? (full log attached in Sarina's previous email) Thanks a lot, Marie On Jul 29, 2014, at 3:29 AM, Sarina Iwabuchi <sarina.iwabu...@nottingham.ac.uk<mailto:sarina.iwabu...@nottingham.ac.uk>> wrote: Hi Marie, I've attached the log file. Thanks very much, Sarina Iwabuchi This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Hi Sarina, Can you please send me the full log of the LGI (e.g. recon-all.log) for this subject? Thanks, Marie On Jul 28, 2014, at 7:23 AM, "Sarina Iwabuchi" <Sarina.Iwabuchi at nottingham.ac.uk<https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer><mailto:Sarina.Iwabuchi at nottingham.ac.uk<https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer>>> wrote: Hi all, I have been trying to run localGI and have been coming across errors. It creates the filled.mgz file and opens matlab (running 2012a) but crashes straight after with the below errors: >> reading filled volume... set: Variable name must begin with a letter. gunzip: Command not found. ERROR: problem reading fname set: Variable name must begin with a letter. rm: Command not found. SWITCH expression must be a scalar or string constant. Error in load_mgh (line 158) switch type Error in MRIread (line 87) [mri.vol, M, mr_parms, volsz] = load_mgh(fspec,[],[],headeronly); Error in make_outer_surface (line 24) vol=MRIread(filled_volume); Has anyone come across this? I do have gunzip on my system. Thanks very much, Sarina Iwabuchi Division of Psychiatry and Applied Psychology Room B07 Institute of Mental Health Triumph Road University of Nottingham Nottingham NG7 2TU Sarina Iwabuchi Division of Psychiatry and Applied Psychology Room B07 Institute of Mental Health Triumph Road University of Nottingham Nottingham NG7 2TU <recon-all.log>
_______________________________________________ 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.