Nilufar Wrote:
-------------------------------------------------------
> I am trying to use afni's MATLAB library to read
> and write surface data in .niml.dset format.
> Using 3dVoltoSurf, I converted volumetric data to
> surface data. Now, when I use this command in
> matlab:
> fn = 'surf_lh.niml.dset' %my surface data
> this error occurs:
>
%%%%%%%%%%%%
> Warning: Input file seems to be not a NIML ASCII
> file, will try to convert it to ascii
NIML comes in three formats: ASCII, binary and base64. The matlab code only supports ASCII.
If the automatic invocation of ConvertDset from matlab does not work, you can make a NIML ASCII version using ConvertDset with "-o_niml_asc".