Help with error message
2010-01-24 06:26:38 GMT
Hi Marsbar users,
I am trying to use the script:
roi_files = spm_get(Inf,'*roi.mat', 'Select ROI files');
des_path = spm_get(1, 'SPM.mat', 'Select SPM.mat');
rois = maroi('load_cell', roi_files); % make maroi ROI objects
des = mardo(des_path); % make mardo design object
mY = get_marsy(rois{:}, des, 'mean'); % extract data into marsy data object
y = summary_data(mY); % get summary time course(s)
---------------------------------------------------------------------------------------------------
When I do so I select an ROI from the ROI's that go with MarsBar (left amygdala in this case) and then select the SPM.mat for the participant I want to look at. When I do so I get the following error, which I know is common:
??? Error using ==> spm_sample_vol
Cant open image file.
Error in ==> maroi.getdata at 103
data = spm_sample_vol(data_imgs(i),...
Error in ==> maroi.get_marsy at 76
[y vals vXYZ mat] = getdata(o, VY);
Error in ==> NarrAmyg at 5
mY = get_marsy(rois{:}, des, 'mean'); % extract data into marsy data object
---------------------------------------------------------------------------------------------------
I followed the directions in the FAQ and reset the path to the images, but I still get the error.
I am using SPM8 in MatlabR2009. Can anyone suggest a possible fix for my problem?
Best,
Patrick B. Williams
------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________ Marsbar-users mailing list Marsbar-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/marsbar-users
RSS Feed