I am having error opening new image
Any advice appreicated
Happy New year
>> xjview
Unrecognized function or variable 'cfg_onscreen'.
Error in cfg_getfile>selector (line 279)
cfg_onscreen(fg);
Error in cfg_getfile (line 193)
[t,sts] = selector(varargin{:});
Error in spm_select (line 153)
[t, sts] = cfg_getfile(varargin{:});
Error in xjview>getImageFile (line 7001)
P0 = spm_select(Inf,'image','Select image files');
Error in xjview>CallBack_loadImagePush (line 3654)
[handles.imageFileName, handles.M, handles.DIM, handles.TF, handles.df, handles.mni, handles.intensity] = getImageFile(thisfilename);
Error while evaluating Menu Callback.
If i use the example it still error
xjview C:\Program Files\MATLAB\R2022a\toolbox\xjview10\xjview\example2.img
Error using load
Unable to find file or directory 'C:\Users\User\.brainstorm\plugins\fieldtrip\fieldtrip-20240722\external\spm12\MIP.mat'.
Error in spm_mip_ui (line 155)
load(mipmat, 'DXYZ', 'CXYZ', 'scale');
Error in spm_mip_ui (line 146)
varargout={spm_mip_ui('Display',varargin{1:end})}; return
Error in xjview>cuixuSectionView (line 7416)
hMIPax = spm_mip_ui(xSPM.Z,coor',xSPM.M,xSPM.DIM,hMIPax);
Error in xjview>Draw (line 7321)
[hReg, hSection, hcolorbar] = cuixuSectionView(mniCoord,intensity,sectionViewTargetFile,hObject,handles);
Error in xjview>CallBack_allIntensityRadio (line 3970)
[handles.hReg, handles.hSection, handles.hcolorbar] = Draw(handles.currentDisplayMNI, handles.currentDisplayIntensity, hObject, handles);
Error in xjview>CallBack_slider (line 3900)
CallBack_allIntensityRadio(handles.allIntensityRadio, eventdata);
Error in xjview>CallBack_pValueEdit (line 3828)
CallBack_slider(hObject, eventdata, -log10(handles.pValue));
Error in xjview>CallBack_loadImagePush (line 3753)
CallBack_pValueEdit(handles.pValueEdit, eventdata);
Error in xjview (line 766)
CallBack_loadImagePush(handles.loadImagePush, [], varargin);
Error in xjview>CallBack_openExample (line 798)
xjview(tmp);
Error while evaluating DestroyedObject Callback.