Version20KnownIssues » History » Version 6

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