Hi Sarina,

you need to have $FREESURFER_HOME/matlab in your matlab path. Try:

addpath(sprintf('%s/matlab', getenv('FREESURFER_HOME')))

cheers
Bruce

On Wed, 30 Jul 2014, Sarina Iwabuchi wrote:

Hi Doug,
I get the following error:

Undefined function 'MRIread' for input arguments of type 'char'.

Sarina

On 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 Psychology
Room B07 Institute of Mental Health
Triumph Road
University of Nottingham
Nottingham NG7 2TU


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.



_______________________________________________
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