the same thing happened to me yesterday. I had moved the images and thus spm_regions couldnt find them. If this is your situation, use marsbar or some other tool to reassociate the new location of the images with the spm.mat file.
sterling
Sterling C. Johnson, Ph.D.
Assistant Professor of Medicine
University of Wisconsin Medical School
Wm.S. Middleton Memorial VA Hospital
2500 Overlook Terrace, GRECC
Madison WI 53705
phone 608-256-1901 x 11946
fax 608-280-7165
email: [log in to unmask]
>>> Amit Anand <[log in to unmask]> 04/22/05 6:19 PM >>>
Could somebody explain how to correct this error while defining and saving
a VOI from a effects of interest map -
??? Cant open image file.
Error in ==> C:\spm2\spm_sample_vol.dll
Error in ==> C:\spm2\spm_get_data.m
On line 30 ==> Y(i,:) = spm_sample_vol(V(i),XYZ(1,:),XYZ(2,:),XYZ
(3,:),0);
Error in ==> C:\spm2\spm_regions.m
On line 161 ==> y = spm_get_data(SPM.xY.VY,xSPM.XYZ(:,Q));
??? Error while evaluating uicontrol Callback.
|