Re: [Freesurfer] Bug in freesurfer_read_surf.m & a quick fix

2011-09-29 Thread Matti Stenroos
Hi & sorry for the second post... ...I made a typo in my fix. Should of course be If nargout>1,... Cheers, Matti From: freesurfer-boun...@nmr.mgh.harvard.edu [mailto:freesurfer-boun...@nmr.mgh.harvard.edu] On Behalf Of Matti Stenroos Sent: 29 September 2011 15:00 To: fre

[Freesurfer] Bug in freesurfer_read_surf.m & a quick fix

2011-09-29 Thread Matti Stenroos
Hi, In FreeSurfer 4.3.0, the Matlab routine "freesurfer_read_surf.m" crashes, when run with one output argument: function [vertices, faces] = freesurfer_read_surf(fname) The function help says: % Note that reading the faces of a quad file can take a long % time due to their compact storage form