>> [vertex_coords, faces] =
read_surf('fmcpr.sm5.fsaverage.lh.nii');
Undefined function or variable "vertex_coords".
Error in read_surf (line 77)
vertex_coords = reshape(vertex_coords, 3, vnum)' ;
It looks as though the reason is that the "magic number"
evaluates as:
6029568
which does not match either of the numbers it is looking
for (which denote triangle and quad files).
Does that mean that current surface files have a different
format and this function needs to be updated accordingly?
Anyway, is there some way I can load surface files into
Matlab?
I looked through the fsfast Matlab functions but it wasn't
clear to me if one of them would do.
The best candidate seemed to be fast_read_curv.m but it
yielded too many numbers so I'm thinking a curvature file is
something different.
Thanks!
Joe
--------------------------------------------------------------------------------
Joseph
Dien,
Senior
Research
Scientist
University
of Maryland
Phone:
202-297-8117