What was the filename extension you used? ".img" or ".nii"? This is in
the "fname" field of the V structure.
Best regards,
John
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
On Behalf Of cyril pernet
Sent: Thursday, December 07, 2006 3:44 PM
To: [log in to unmask]
Subject: [SPM] spm_create_vol error
Hi there,
apart from my linear/exponential stuff I receive a weird error from
spm_write_vol
I used spm_write_vol(V,Y)
Y are the data
V the info as specified in spm_read_vols
then I receive
Error using spm_create_vol
"" is not a recognized extension
error in spm_create_vol at 16
v = spm_create_vol(V);
I guess I need to specify somewhere the extension but I can't figure out
where ..
Any idea?
Cheers
Cyril
|