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

1 view (last 30 days)
I previously used 2009 one and it was supported for xjview. Then I installed 2013 but now it shows some errors.
Wasna Madushanka Ediri Arachchi
Thanks. I downloaded new released of xjview and now its working properly

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 17 Feb 2017
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 Comment
Steven Lord
Steven Lord on 17 Feb 2017
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.

Sign in to comment.

More Answers (1)

Wasna Madushanka Ediri Arachchi
Many Thanks Mr. Walter Roberson..


Find more on Convert Image Type in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!