Hello,
I have installed FreeSurfer on a Linux box and everything works great. However, our lab does most all of our processing in MATLAB in a Windows XP-64 platform. Within MATLAB, I am able to import the files existing within the /surf/ folder to work with and visualize the meshes. However, I am unable to load in any of the *.mgz files within the /mri/ folder. I have attempted to use the load_mgh.m and MRIread.m commands. The error returned is the following:
The system cannot find the path specified.
ERROR: could not open /tmp/tmp5897063.mgh for reading
ERROR: loading mri/wm.mgz as MGH
The load_mgh.m program is failing between lines 61 and 76. I don't know how your code is compressed, so I can't create a work around for this specific issue. Is this program only useful on a MAC or unix-based system? Is there another way to load in the compressed files into a Windows-based MATLAB? I have searched the relevant help threads, but have not found an answer to this specific problem.
Many thanks for your assistance!
Cheers,
Adam
Adam T. Eggebrecht, Ph.D.
Dept. of Radiology
Washington University School of Medicine
St. Louis, MO
314-362-6942
The material in this message is private and may contain Protected Healthcare Information (PHI). If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.