Vivian
unread,Mar 17, 2011, 6:14:35 PM3/17/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xjView discuss group
Hi, I just downloaded my own copy of xjview so i could work locally,
not always on my University's network. But I cannot open any of the
images that I can open when I'm working on the network.
Here is the error I get when I select File>open images:
Error in ==> xjview at 657
CallBack_loadImagePush(handles.loadImagePush, [],
varargin);
>> xjview
??? Undefined function or method 'cfg_get_defaults' for
input arguments of type 'char'.
Error in ==> cfg_getfile>colours at 1304
lf = cfg_get_defaults('cfg_ui.lfont');
Error in ==> cfg_getfile>selector at 251
[col1,col2,col3,lf,bf] = colours;
Error in ==> cfg_getfile at 188
[t,sts] = selector(varargin{:});
Error in ==> spm_select at 88
[t sts] = cfg_getfile(varargin{:});
Error in ==> xjview>getImageFile at 6080
P0 = spm_select(Inf,'image','Select image files');
Error in ==> xjview>CallBack_loadImagePush at 3369
[handles.imageFileName, handles.M, handles.DIM,
handles.TF, handles.df, handles.mni, handles.intensity]
= getImageFile(thisfilename);
??? Error while evaluating uimenu Callback
I also get an error when I try using double-click to open, and when I
try to call an image from the matlab command line, I get:
>> xjview('spmT_0001.img')
??? Undefined function or method 'nifti' for input
arguments of type 'char'.
Error in ==> spm_vol_nifti at 16
N = nifti(fname);
Error in ==> spm_vol>subfunc at 136
V = spm_vol_nifti(p);
Error in ==> spm_vol>subfunc1 at 84
v = subfunc(P(i,:));
Error in ==> spm_vol>subfunc2 at 70
V = subfunc1(P);
Error in ==> spm_vol at 54
V = subfunc2(P);
Error in ==> xjview>mask2coord at 6236
V = spm_vol(mask);
Error in ==> xjview>getImageFile at 6123
[cor{ii}, intensity{ii}, tmp{ii}, M{ii}, DIM{ii},
TF{ii}, df{ii}] = mask2coord(imageFile{ii}, 0);
Error in ==> xjview>CallBack_loadImagePush at 3369
[handles.imageFileName, handles.M, handles.DIM,
handles.TF, handles.df, handles.mni, handles.intensity]
= getImageFile(thisfilename);
Error in ==> xjview at 657
CallBack_loadImagePush(handles.loadImagePush, [],
varargin);
What can i do to fix this?