Hi, I don't think that's the problem, because I started the computer just before running matlab and spm. In addition, it seems to happen constantly, on several computers. To overcome it, I should go over the fMRI design stage again. As I mentioned before, it doesn't happen when using the computer on which this stage was initially performed. Best regards, Avital On 4/18/05, John Ashburner <[log in to unmask]> wrote: > Windows uses a file locking mechanism, which prevents files from being changed > multiple times by different programs. The error may be because another > program has already opened the file, which means that it can't be opened > through Matlab (this could be a because of a backup system or something > similar). Another possibility is that the file remains locked for some > reason. I would suggest exiting your Matlab session and starting it up > again. I am no Windows expert, but I think that this could help. > > Best regards, > -John > > > When use the sections' overlay and then try to define VOIs several > > days after completing the analysis process, I get a beep and matlab > > reports an error. > > Here is a "citation": > > ??? 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. > > > > > > The strange thing is that when I do the same process on my home > > computer it works just fine. > > Maybe it has something to do with the fact that this is the computer > > on which on the analysis was performed? > >