Version20KnownIssues » History » Version 3

« Previous - Version 3/8 (diff) - Next » - Current version
Luis Figueira, 2012-06-26 12:08 PM
added fix


Known Issues

(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/)

SPARCO and fileparts

From version MATLAB R2011a the function fileparts no longer supports four output arguments (see http://www.mathworks.co.uk/help/techdoc/ref/fileparts.html).

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.

To fix this issue, please change the following SPARCO toolbox code:

  • Version that may cause issues:
toolboxes/SPARCO/sparco-1.2/sparcoSetup.m
126:   [root, name, ext, versn] = fileparts(w);

toolboxes/SPARCO/sparco-1.2/tools/parseDefaultOpts.m
45:[pathstr, name, ext, versn] = fileparts(mfilename('fullpath'));
  • Please change to:
toolboxes/SPARCO/sparco-1.2/sparcoSetup.m
126:   [root, name, ext] = fileparts(w);

toolboxes/SPARCO/sparco-1.2/tools/parseDefaultOpts.m
45:[pathstr, name, ext] = fileparts(mfilename('fullpath'));