Hi Mona,
> I am currently trying to do a Jacobian modulation on my VBM data in SPM2,
> and have only done this in SPM99 before. I have tried typing modulate
> (V,prm) and spm_write_sn(V, prm,'modulate') in the command window, but I
> only get this error message; undefined function or variable 'V'. I guess
> this is because SPM do not find any images to modulate ? I was expecting to
> get the possibility to select images to modulate, like in spm99. Surely
> there must be an easy solution to this, but I need help .
If you want a one-liner asking you for your files, try this:
spm_write_sn(spm_get(Inf,'w*.IMAGE','Select Image(s) to modulate'),
spm_get(1,'*_sn.mat','Select spatial normalization parameters'),'modulate');
Well, it *should* be in one line ;)
Best,
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
=====================================================================
|