필터 지우기
필터 지우기

my R2013a can not do xjview. May I know the reason?

조회 수: 1 (최근 30일)
Wasna Madushanka Ediri Arachchi
Wasna Madushanka Ediri Arachchi 2017년 2월 17일
댓글: Steven Lord 2017년 2월 17일
I previously used 2009 one and it was supported for xjview. Then I installed 2013 but now it shows some errors.
  댓글 수: 3
Wasna Madushanka Ediri Arachchi
Wasna Madushanka Ediri Arachchi 2017년 2월 17일
편집: Walter Roberson 2017년 2월 17일
I copied spm8 from another machine.
I got errors as follows;
Error using fileparts
Too many output arguments.
Error in xjview>reset_st (line 9320)
[p pluginname e v] = fileparts(pluginfiles(k).name);
Error in xjview>my_reset (line 8622)
reset_st;
Error in xjview>spm_orthviews (line 8304)
my_reset;
Error in xjview>spm_sections (line 6577)
spm_orthviews('Reset');
Error in xjview>cuixuSectionView (line 6543)
[hgraph, hSection, hcolorbar] = spm_sections(SPM,hReg,targetFile,handles.sectionViewPosition);
Error in xjview>Draw (line 6409)
[hReg, hSection, hcolorbar] =
cuixuSectionView(mniCoord,abs(intensity),sectionViewTargetFile,hObject,handles);
Error in xjview>CallBack_allIntensityRadio (line 3639)
[handles.hReg, handles.hSection, handles.hcolorbar] = Draw(handles.currentDisplayMNI,
handles.currentDisplayIntensity, hObject, handles);
Error in xjview>CallBack_sectionViewListbox (line 3705)
CallBack_allIntensityRadio(hObject, eventdata, 'c');
Error while evaluating uicontrol Callback
Wasna Madushanka Ediri Arachchi
Wasna Madushanka Ediri Arachchi 2017년 2월 17일
Thanks. I downloaded new released of xjview and now its working properly

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2017년 2월 17일
The line giving you problems there is
[p pluginname e v] = fileparts(pluginfiles(k).name);
notice that there are four outputs there. That had to do with the file name structure on the DEC VMS operating system, which has not been supported by MATLAB for many years.
Go through the code, and in any call to fileparts that has four outputs, delete the last output. If you need to, you can set that variable name to '' (the empty string.) For example,
[p pluginname e] = fileparts(pluginfiles(k).name);
v = '';
There might be other changes needed. SPM8 is not entirely compatible with SPM5.
  댓글 수: 1
Steven Lord
Steven Lord 2017년 2월 17일
FYI according to the Release Notes we first told users to remove the fourth output argument in release R2010a, started issuing a warning in R2011a, and started throwing an error in R2011b.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Wasna Madushanka Ediri Arachchi
Wasna Madushanka Ediri Arachchi 2017년 2월 17일
Many Thanks Mr. Walter Roberson..

카테고리

Help CenterFile Exchange에서 MRI에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by