Matlab 2017a compatibility

576 views
Skip to first unread message

이희승

unread,
Jun 26, 2017, 9:48:19 AM6/26/17
to xjView discuss group
Hello,

I have used xjview for analyzing fMRI data for a long time.
Recently, I updated Matlab from 2014b to 2017a.
I found that Xjview95 does not work on Matlab 2017a, when I rendered NIFTI image file.
However, Xjview95 worked well on Matlab 2014b.
Can you handle the problem?

Best regards,
HL

Xu Cui

unread,
Jun 26, 2017, 4:52:13 PM6/26/17
to xjview-dis...@googlegroups.com
HL,

Does previous versions of xjview (e.g. xjview 9) work with MatLab 2017a?

Also, what is the error message when you try to load an image in xjview 9.5 in MatLab 2017a?

Xu


----------------------------------------------------------------
Xu Cui, Ph.D
Department of Psychiatry and Behavioral Sciences
Stanford University
Blog: http://www.alivelearn.net
Profile: http://www.linkedin.com/in/cuixu
----------------------------------------------------------------

--
You received this message because you are subscribed to the Google Groups "xjView discuss group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-group+unsub...@googlegroups.com.
To post to this group, send email to xjview-discuss-group@googlegroups.com.
Visit this group at https://groups.google.com/group/xjview-discuss-group.
For more options, visit https://groups.google.com/d/optout.

anegu...@gmail.com

unread,
Dec 5, 2017, 3:59:50 PM12/5/17
to xjView discuss group
With xjview8.11 in Matlab 2017a, the error I get, is:

>xjview
No method 'delete' with matching signature found for class 'matlab.ui.control.UIControl'.
 
Error using cfg_getfile>selector (line 565)
Error while evaluating UIControl Callback.

No method 'delete' with matching signature found for class 'matlab.ui.control.UIControl'.
 
Error using cfg_getfile>selector (line 565)
Error while evaluating UIControl Callback.


anegu...@gmail.com

unread,
Dec 5, 2017, 3:59:50 PM12/5/17
to xjView discuss group
Hi,
I have the same problem. xjview9.6 does not work with Matlab 2017a...neither previous versions...
This is the error I get:

>xjview
>xjview C:\Program Files\MATLAB\R2017a\toolbox\xjview96\xjview\example2.img

Error using fileparts
Too many output arguments.

Error in wfu_spm (line 168)
[l_path file ext junk] = fileparts(x);

Error in spm (line 11)
    varargout{1} = wfu_spm(varargin{:});

Error in xjview>cuixuSectionView (line 7393)
WS     = spm('WinScale');

Error in xjview>Draw (line 7312)
        [hReg, hSection, hcolorbar] =
        cuixuSectionView(mniCoord,intensity,sectionViewTargetFile,hObject,handles);

Error in xjview>CallBack_allIntensityRadio (line 3968)
[handles.hReg, handles.hSection, handles.hcolorbar] = Draw(handles.currentDisplayMNI,
handles.currentDisplayIntensity, hObject, handles);

Error in xjview>CallBack_slider (line 3898)
    CallBack_allIntensityRadio(handles.allIntensityRadio, eventdata);

Error in xjview>CallBack_pValueEdit (line 3826)
CallBack_slider(hObject, eventdata, -log10(handles.pValue));

Error in xjview>CallBack_loadImagePush (line 3751)
CallBack_pValueEdit(handles.pValueEdit, eventdata);

Error in xjview (line 764)
    CallBack_loadImagePush(handles.loadImagePush, [], varargin);

Error in xjview>CallBack_openExample (line 796)
xjview(tmp);
 
Error while evaluating DestroyedObject Callback.

Error using fileparts
Too many output arguments.

Error in wfu_spm (line 168)
[l_path file ext junk] = fileparts(x);

Error in spm (line 11)
    varargout{1} = wfu_spm(varargin{:});

Error in xjview>cuixuSectionView (line 7393)
WS     = spm('WinScale');

Error in xjview>Draw (line 7312)
        [hReg, hSection, hcolorbar] =
        cuixuSectionView(mniCoord,intensity,sectionViewTargetFile,hObject,handles);

Error in xjview>CallBack_allIntensityRadio (line 3968)
[handles.hReg, handles.hSection, handles.hcolorbar] = Draw(handles.currentDisplayMNI,
handles.currentDisplayIntensity, hObject, handles);

Error in xjview>CallBack_sectionViewListbox (line 4074)
CallBack_allIntensityRadio(hObject, eventdata, 'c');
 
Error while evaluating UIControl Callback.

Error using fileparts
Too many output arguments.

Error in wfu_spm (line 168)
[l_path file ext junk] = fileparts(x);

Error in spm (line 11)
    varargout{1} = wfu_spm(varargin{:});

Error in xjview>cuixuSectionView (line 7393)
WS     = spm('WinScale');

Error in xjview>Draw (line 7312)
        [hReg, hSection, hcolorbar] =
        cuixuSectionView(mniCoord,intensity,sectionViewTargetFile,hObject,handles);

Error in xjview>CallBack_allIntensityRadio (line 3968)
[handles.hReg, handles.hSection, handles.hcolorbar] = Draw(handles.currentDisplayMNI,
handles.currentDisplayIntensity, hObject, handles);

Error in xjview>CallBack_sectionViewListbox (line 4074)
CallBack_allIntensityRadio(hObject, eventdata, 'c');
 
Error while evaluating UIControl Callback.

Error using fileparts
Too many output arguments.

Error in wfu_spm (line 168)
[l_path file ext junk] = fileparts(x);

Error in spm (line 11)
    varargout{1} = wfu_spm(varargin{:});

Error in xjview>cuixuSectionView (line 7393)
WS     = spm('WinScale');

Error in xjview>Draw (line 7312)
        [hReg, hSection, hcolorbar] =
        cuixuSectionView(mniCoord,intensity,sectionViewTargetFile,hObject,handles);

Error in xjview>CallBack_allIntensityRadio (line 3968)
[handles.hReg, handles.hSection, handles.hcolorbar] = Draw(handles.currentDisplayMNI,
handles.currentDisplayIntensity, hObject, handles);

Error in xjview>CallBack_sectionViewListbox (line 4074)
CallBack_allIntensityRadio(hObject, eventdata, 'c');
 
Error while evaluating UIControl Callback.

Thanks!

Xiaowei Song

unread,
Dec 5, 2017, 8:04:33 PM12/5/17
to xjview-dis...@googlegroups.com
Dear HL, 

Error in wfu_spm (line 168)
[l_path file ext junk] = fileparts(x);
Error in spm (line 11)
    varargout{1} = wfu_spm(varargin{:});
The error message above means that your 11th line of SPM is not compatible with Matlab 2017a, not xjView.
Please configure your path in Matlab appropriately, such as:
1. add spm 12 to the top of your Matlab path
2. add xjView ot the top of your matlab path
3. run xjView

Best,
Xiaowei


--
You received this message because you are subscribed to the Google Groups "xjView discuss group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-group+unsub...@googlegroups.com.
To post to this group, send email to xjview-discuss-group@googlegroups.com.
Visit this group at https://groups.google.com/group/xjview-discuss-group.
For more options, visit https://groups.google.com/d/optout.



--
Xiaowei Song 

Xiaowei Song

unread,
Dec 6, 2017, 1:06:49 PM12/6/17
to xjview-dis...@googlegroups.com, 崔旭
I just tested xjView 9.6 with Matlab 2017a and 2017b, xjView works for both versions.

Best,
Xiaowei Song

To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-group+unsubscrib...@googlegroups.com.

To post to this group, send email to xjview-discuss-group@googlegroups.com.
Visit this group at https://groups.google.com/group/xjview-discuss-group.
For more options, visit https://groups.google.com/d/optout.



--
Xiaowei Song 



--
Xiaowei Song 

d6201...@tmu.edu.tw

unread,
Oct 4, 2018, 11:49:07 PM10/4/18
to xjView discuss group
Hi Xiaowei

I had the same issue with Matlab 2018b. Both SPM12 and Xjview were on the top of Matlab path.

No method 'delete' with matching signature found for class 'matlab.ui.control.UIControl'.
 
Error using cfg_getfile>selector (line 542)

Error while evaluating UIControl Callback.

Best wishes
Larry

Xiao-Wei Song於 2017年12月7日星期四 UTC+8上午2時06分49秒寫道:
To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-group+unsub...@googlegroups.com.
To post to this group, send email to xjview-dis...@googlegroups.com.



--
Xiaowei Song 



--
Xiaowei Song 

Xiaowei Song

unread,
Oct 5, 2018, 9:39:03 AM10/5/18
to xjview-dis...@googlegroups.com, TMU, d620105001, 崔旭
Hi, Larry, 

Matlab 2018b was just released last month, you are really chasing the Matlab's advancement. But still thanks for your report.

However, I guess you will encounter same problem when using SPM 12.
Can you confirm this?
After your confirmation, if you can upgrade SPM 12 by applying its patches (if there are for MATLAB 2018b), I guess your problem will be solved.


Best,
Xiaowei

To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-g...@googlegroups.com.

To post to this group, send email to xjview-dis...@googlegroups.com.
Visit this group at https://groups.google.com/group/xjview-discuss-group.
For more options, visit https://groups.google.com/d/optout.



--
Xiaowei Song 



--
Xiaowei Song 

--
You received this message because you are subscribed to the Google Groups "xjView discuss group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-g...@googlegroups.com.

To post to this group, send email to xjview-dis...@googlegroups.com.
Visit this group at https://groups.google.com/group/xjview-discuss-group.
For more options, visit https://groups.google.com/d/optout.


--
Best,
Xiaowei Song 

TMU, d620105001

unread,
Oct 5, 2018, 11:23:05 AM10/5/18
to xjview-dis...@googlegroups.com
Dear Xiaowei

The issues have been resolved.

Both Matlab 2018a/b/SPM12 worked fine on my desktop PC.

Moving both SPM12 and Xjview to the top of path.

I've encountered the errors on my laptop this afternoon (MATLAB 2018b/SPM12).

Thanks.


Best wishes
Larry

-- 

Ying-Liang (Larry) Lai, Ph.D. Student
Research Assistant
Ph.D. Program for Neural Regenerative Medicine

College of Medical Science and Technology
Taipei Medical University and National Health Research Institutes

---

“Guard your heart with all vigilance, for from it are the sources of life.” 

(Proverbs. 4:23 New English Translation)



<d6201...@tmu.edu.tw> 於 2018年10月5日 週五 上午11:49寫道:
To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-g...@googlegroups.com.

To post to this group, send email to xjview-dis...@googlegroups.com.
Visit this group at https://groups.google.com/group/xjview-discuss-group.
For more options, visit https://groups.google.com/d/optout.



--
Xiaowei Song 



--
Xiaowei Song 

--
You received this message because you are subscribed to the Google Groups "xjView discuss group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-g...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages