Try vol = MRIread('brain.mgz')
On 03/04/2014 01:56 AM, Saurabh Thakur wrote:
Hi Markus Gschwind,
I am using Matlab 7.12.0.635 (R2011a),
I am not able to read the dicom image neither brain.mgz file nor the surface file in matlab.
I have added these file in matlab directory.
Comment or error i m getting is :
for example : *>> load_dicom_fl(IM_0001) ??? Undefined function or variable 'IM_0001'.
2nd example : *>> MRIread(brain.mgz,brainMRI.hdr) ??? Undefined variable "brain" or function "brain.mgz".*
I looking forward to work on matlab along with freesurfer.
Looking for your reply asap. Thanks for reply.
cheers Saurabh Thakur,
On Tue, Mar 4, 2014 at 12:17 PM, <markus.gschwind@gmail.com mailto:markus.gschwind@gmail.com> wrote:
Hi! Can you specify what happens when you try to read the files? On 4 mars 2014, at 06:44, Saurabh Thakur <srbhthkr@gmail.com <mailto:srbhthkr@gmail.com>> wrote: > Hello Freesurfer, > > I am trying to runs MRIread.m file in matlab. > > But it is not reading the brain.mgz or any other format. > > Can u help in this regards. > > Thanks in advance, > > cheers > Saurabh Thakur, > > > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu <mailto: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.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer