Version20KnownIssues » History » Version 3

Luis Figueira, 2012-06-26 12:08 PM
added fix

1 2 Luis Figueira
h1. Known Issues
2 1 Luis Figueira
3 1 Luis Figueira
_(For a complete list of issues already reported and their fix status, please refer to the project's issue list - https://code.soundsoftware.ac.uk/issues/)_
4 1 Luis Figueira
5 1 Luis Figueira
h2. SPARCO and fileparts
6 1 Luis Figueira
7 3 Luis Figueira
From version MATLAB R2011a the function @fileparts@ no longer supports four output arguments (see http://www.mathworks.co.uk/help/techdoc/ref/fileparts.html).
8 1 Luis Figueira
9 1 Luis Figueira
The SMALLbox code was updated to reflect this change, but the version of SPARCO currently being downloaded still has that problem. Please refer to this ticket.
10 1 Luis Figueira
11 3 Luis Figueira
To fix this issue, please change the following SPARCO toolbox code:
12 3 Luis Figueira
13 3 Luis Figueira
* Version that *may* cause issues:
14 3 Luis Figueira
15 3 Luis Figueira
<pre>
16 3 Luis Figueira
toolboxes/SPARCO/sparco-1.2/sparcoSetup.m
17 3 Luis Figueira
126:   [root, name, ext, versn] = fileparts(w);
18 3 Luis Figueira
19 3 Luis Figueira
toolboxes/SPARCO/sparco-1.2/tools/parseDefaultOpts.m
20 3 Luis Figueira
45:[pathstr, name, ext, versn] = fileparts(mfilename('fullpath'));
21 3 Luis Figueira
</pre>
22 3 Luis Figueira
23 3 Luis Figueira
* Please change to: 
24 3 Luis Figueira
25 3 Luis Figueira
<pre>
26 3 Luis Figueira
toolboxes/SPARCO/sparco-1.2/sparcoSetup.m
27 3 Luis Figueira
126:   [root, name, ext] = fileparts(w);
28 3 Luis Figueira
29 3 Luis Figueira
toolboxes/SPARCO/sparco-1.2/tools/parseDefaultOpts.m
30 3 Luis Figueira
45:[pathstr, name, ext] = fileparts(mfilename('fullpath'));
31 3 Luis Figueira
</pre>