One problem solved (sorta) and another presents itself -
Looking at the original error and seeing that it mentioned the 'fullfile' for the brainmask.img, I attempted to run spm_dbm from the full path containing the apriori images and that seemed to correct the first error. (That is a little puzzling because spm seems to have no difficulties 'finding' the other apriori images (e.g. gray.img) when I run the segmentation procedure from within spm. Unless this is an extension of the possibility that not all required files/paths are being called/loaded when spm_dbm boots). However upon attempting to extract the shapes again, a new error pops up:
??? Cant open image file.
Error in ==> /usr/local/matlab5/toolbox/matlab/spm99/spm_slice_vol.mexsol
Error in ==> /usr/local/matlab5/toolbox/matlab/spm99/spm_dbm.m (procrustes)
On line 318 ==> msk = spm_slice_vol(V,spm_matrix([0 0 j]),V.dim(1:2),0);
Error in ==> /usr/local/matlab5/toolbox/matlab/spm99/spm_dbm.m (xtract_shapes)
On line 64 ==> T = procrustes(matfiles(j,:));
Error in ==> /usr/local/matlab5/toolbox/matlab/spm99/spm_dbm.m
On line 39 ==> xtract_shapes;
Since the error doesnt specify the image file: is this the brainmask.img again or is this the image file corresponding to the sn3d.mat file I selected? I apologize if these are questions that could be answered by interpretting the code, but my programming skills are rudimentary at best.
Thanks again.. Keith