Version20KnownIssues » History » Version 8

Luis Figueira, 2012-06-27 03:56 PM
removed toc

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 6 Luis Figueira
5 6 Luis Figueira
6 1 Luis Figueira
h2. SPARCO and fileparts
7 1 Luis Figueira
8 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).
9 1 Luis Figueira
10 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.
11 1 Luis Figueira
12 3 Luis Figueira
To fix this issue, please change the following SPARCO toolbox code:
13 3 Luis Figueira
14 3 Luis Figueira
* Version that *may* cause issues:
15 3 Luis Figueira
16 3 Luis Figueira
<pre>
17 3 Luis Figueira
toolboxes/SPARCO/sparco-1.2/sparcoSetup.m
18 3 Luis Figueira
126:   [root, name, ext, versn] = fileparts(w);
19 3 Luis Figueira
20 3 Luis Figueira
toolboxes/SPARCO/sparco-1.2/tools/parseDefaultOpts.m
21 3 Luis Figueira
45:[pathstr, name, ext, versn] = fileparts(mfilename('fullpath'));
22 3 Luis Figueira
</pre>
23 3 Luis Figueira
24 3 Luis Figueira
* Please change to: 
25 3 Luis Figueira
26 1 Luis Figueira
<pre>
27 7 Luis Figueira
28 3 Luis Figueira
toolboxes/SPARCO/sparco-1.2/sparcoSetup.m
29 3 Luis Figueira
126:   [root, name, ext] = fileparts(w);
30 3 Luis Figueira
31 1 Luis Figueira
toolboxes/SPARCO/sparco-1.2/tools/parseDefaultOpts.m
32 3 Luis Figueira
45:[pathstr, name, ext] = fileparts(mfilename('fullpath'));
33 4 Luis Figueira
34 7 Luis Figueira
</pre>
35 1 Luis Figueira
36 6 Luis Figueira
h2. Tilde (@~@) operator (MATLAB versions prior to 2009b)
37 4 Luis Figueira
38 5 Luis Figueira
As of release 2009b MATLAB introduced the tilde (@~@)  operator (see http://www.mathworks.co.uk/help/techdoc/rn/br5fo8o-1.html)
39 4 Luis Figueira
40 4 Luis Figueira
If you have a previous version of MATLAB you'll need to change this to any other *unused* variable. As of SMALLbox 2.0 this can be found in the following files/lines of code:
41 4 Luis Figueira
42 4 Luis Figueira
<pre>
43 4 Luis Figueira
./DL/two-step DL/dico_update.m:120:                    [U,~,V] = svd(patch);
44 4 Luis Figueira
./toolboxes/alps/ALPS/infty_ALPS.m:61:[~,N] = size(Phi);
45 4 Luis Figueira
./toolboxes/alps/ALPS/infty_ALPS.m:132:    [~, ind_der] = sort(abs(der).*complementary_Xi, 'descend');
46 4 Luis Figueira
./toolboxes/alps/ALPS/infty_ALPS.m:208:    [~, ind_z] = sort(abs(z), 'descend');
47 4 Luis Figueira
./toolboxes/alps/ALPS/infty_ALPS.m:235:            [v, ~, ~] = cgsolve(cg_A(X_i, X_i), cg_b(X_i), params.cg_tol, params.cg_maxiter, cg_verbose);
48 4 Luis Figueira
./toolboxes/alps/ALPS/thresh.m:3:[~, ind] = sort(abs(x), 'descend');
49 4 Luis Figueira
[luisf@luis-mac.eecs.qmul.ac.uk ~/smallbox]
50 4 Luis Figueira
[2254] > ack "~,"  . 
51 4 Luis Figueira
DL/two-step DL/dico_update.m
52 4 Luis Figueira
120:                    [U,~,V] = svd(patch);
53 4 Luis Figueira
54 4 Luis Figueira
toolboxes/alps/ALPS/infty_ALPS.m
55 4 Luis Figueira
61:[~,N] = size(Phi);
56 4 Luis Figueira
132:    [~, ind_der] = sort(abs(der).*complementary_Xi, 'descend');
57 4 Luis Figueira
208:    [~, ind_z] = sort(abs(z), 'descend');
58 4 Luis Figueira
235:            [v, ~, ~] = cgsolve(cg_A(X_i, X_i), cg_b(X_i), params.cg_tol, params.cg_maxiter, cg_verbose);
59 4 Luis Figueira
60 4 Luis Figueira
toolboxes/alps/ALPS/thresh.m
61 4 Luis Figueira
3:[~, ind] = sort(abs(x), 'descend');
62 4 Luis Figueira
</pre>