Hi Chris, Vy,
thanks for helping out, and sorry for sloppy scripting!
> It should probably be "fnam = fullfile(po, [nm '_seg_sn.mat']);
I don't think that would work. I was trying to pass a path (p) but that
was not defined before (it was in my script but not in the snippet I
pasted). If you insert a line like
[p nm e v] = spm_fileparts(ana);
near the top of the script, that should do it (I hope :)
Cheers,
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
=====================================================================
|