Dear all, I wonder if others have dealt with this error in SPM5 before:
when I try running
q = spm_slice_vol(V,spm_matrix([0 0 1]),[256, 256],0);
I get the following error:
??? Cant map view of file. It may be locked by another program.
I have tried various obvious things but couldnt get rid of the error. The file in question is definitely not being used by another program. Can you help me? I am running SPM5, MATLAB 7.1.0, Windows Vista. Do I need to compile the mex file again?
cheers,
Ashish Raj
Assistant Professor of Computer Science in Radiology
Co-Director, Radiology Image Processing Laboratory (RIPL)
Weill Medical College of Cornell University
1300 York Avenue
New York, NY 10044
Phone (o): 212-746-2473
Research: http://www.cs.cornell.edu/~rdz/medical.htm
Recent publication: http://repositories.cdlib.org/postprints/2907
|