Is gunzip in your path? When you open a shell and type
which gunzip
what is printed out?
On 07/30/2014 10:45 AM, Sarina Iwabuchi wrote:Hi Bruce,It still shows the same error:set: Variable name must begin with a letter.gunzip: Command not found.ERROR: problem reading fnameset: 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 typeError in MRIread (line 87)[mri.vol, M, mr_parms, volsz] = load_mgh(fspec,[],[],headeronly);SarinaOn 30 Jul 2014, at 14:23, Bruce Fischl wrote:Hi Sarina,you need to have $FREESURFER_HOME/matlab in your matlab path. Try:addpath(sprintf('%s/matlab', getenv('FREESURFER_HOME')))cheersBruceOn Wed,30 Jul 2014, Sarina Iwabuchi wrote:Hi Doug,I get the following error:Undefined function 'MRIread' for input arguments of type 'char'.SarinaOn 29 Jul 2014, at 18:34, Douglas N Greve wrote:a =MRIread('/Volumes/HD-PNTU3/MISSEDDATA/extn003/surf/tmp-mris_compute_lgi-lh.pial/lh.pial.filled.mgz');Sarina IwabuchiDivision of Psychiatry and Applied PsychologyRoom B07 Institute of Mental HealthTriumph RoadUniversity of NottinghamNottingham NG7 2TUThis message and any attachment are intended solely for the addressee andmay contain confidential information. If you have received this message inerror, please send it back to me, and immediately delete it. Please do notuse, copy or disclose the information contained in this message or in anyattachment. Any views or opinions expressed by the author of this email donot necessarily reflect the views of the University of Nottingham.This message has been checked for viruses but the contents of an attachmentmay still contain software viruses which could damage your computer system,you are advised to perform your own checks. Email communications with theUniversity of Nottingham may be monitored as permitted by UK legislation._______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurferThe information in this e-mail is intended only for the person to whom it isaddressed. If you believe this e-mail was sent to you in error and the e-mailcontains patient information, please contact the Partners Compliance HelpLine athttp://www.partners.org/complianceline . If the e-mail was sent to you in errorbut does not contain patient information, please contact the sender and properlydispose of the e-mail.Sarina IwabuchiDivision of Psychiatry and Applied PsychologyRoom B07 Institute of Mental HealthTriumph RoadUniversity of NottinghamNottingham NG7 2TUThis 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 attachmentmay 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._______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
--
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve@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
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.