Hi,
just a hunch as I have not tried this, but perhaps
> images =
> {'/disk2/work/cert_bd/long_SA_15T_bp_lithium/HDW/test/ref.nii,1', ...
> '/disk2/work/cert_bd/long_SA_15T_bp_lithium/HDW/test/mov.nii,1'};
should be
images =
('/disk2/work/cert_bd/long_SA_15T_bp_lithium/HDW/test/ref.nii,1', ...
'/disk2/work/cert_bd/long_SA_15T_bp_lithium/HDW/test/mov.nii,1';
By using {} instead of () you are creating a cell array, which seems to
be what Matlab is compaining about.
Hope this helps,
Marko
--
=====================================================================
Marko Wilke (Dr.med./M.D.)
[log in to unmask]
Universitäts-Kinderklinik University Children's Hospital
Abt. III (Neuropädiatrie) Dept. III (Pediatric neurology)
Hoppe-Seyler-Str. 1, D - 72076 Tübingen
Tel.: (+49) 07071 29-83416 Fax: (+49) 07071 29-5473
=====================================================================
|