Print

Print


Hello all,
I've just installed the Anatomy toolbox and I'm having some problems with it.
I'm running the application via the command-line (not within SPM).  I use
matlab 7.4
I want to run the "batch" tool to identify multiple MNI coordinates.
I prepared a text file containing my coordinates, organized thus:
10 10 10
20 20 20
etc.

When prompted to choose the _MPM.mat file to be used as map, I select the
AllAreas_v15_MPM.mat file that is located in the "Anatomy" directory. 
Unless I'm wrong, this is the file to choose for whole brain labeling.
Then, I choose my .txt file and click on the MNI option when asked, and
choose an output name.

I then get the following error message, and the window "freezes":

>> ??? Bad image handle dimensions.

Error in ==> se_TabList at 67
    ProbMax(1:size(xyz,2),PM+1) =
spm_sample_vol(MAP(PM).PMap,xyz(1,:),xyz(2,:),xyz(3,:),0)';

??? Error using ==> se_TabList;
Bad image handle dimensions.

??? Error while evaluating uicontrol Callback


Any ideas how to resolve this problem?

Thanks for your help!
Omer