Hi freesurfers!
I'm trying to run the function write_surf in matlab, as far as I understand this function is to write a surface to analyze in freesurfer from matlab data. I'm not sure if the extension of the file name has to be different, so I need your help to solve this simple (I guess) problem. The first line is what I'm trying to run and the next lines show me the error. *write_surf('prueba.nofix/', vertices, faces);* *...subtracting 1 from face indices for FreeSurfer compatibility*. *Error using fwriteInvalid file identifier. Use fopen to generate a valid file identifier.Error in fwrite3 (line 29)fwrite(fid, b1, 'uchar') ;Error in write_surf (line 38)fwrite3(fid, TRIANGLE_FILE_MAGIC_NUMBER);* thank you in advance for your help! Dulce
_______________________________________________ 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.