Dear Qiyuan Wu,
may it be possible that the paths to your images have changed after
SPM.mat estimation? SPM stores image filenames with full paths and will
fail to access them if the data have moved to another place. You may try
the Volumes Toolbox (see SPM extensions web page for a link). In Stats
Tools, there is a "Change SPM.mat Paths" tool that may be helpful.
Am Dienstag, den 01.04.2008, 09:10 +0800 schrieb 吴齐元:
> Dear SPMers,
> I need to extract a VOI time-series . But after I input the VOI
> radius, I get a error "can't open image file".
> ??? Cant open image file.
> Error in ==> C:\MATLAB6p5\toolbox\spm2\spm_sample_vol.dll
> Error in ==> C:\MATLAB6p5\toolbox\spm2\spm_get_data.m
> On line 30 ==> Y(i,:) =
> Error in ==> C:\MATLAB6p5\toolbox\spm2\spm_regions.m
> On line 162 ==> y = spm_get_data(SPM.xY.VY,xSPM.XYZ(:,Q));
> ??? Error while evaluating uicontrol Callback.
> I appares that some images are lost. However, all the images are in
> the work dictionary.
> PS: all the image files were copied from anther computer.
> Thank you for your time and any suggestion will be appreciated.
> Qiyuan WU
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg http://fbi.uniklinik-freiburg.de/