Version20KnownIssues » History » Version 5

Luis Figueira, 2012-06-27 03:53 PM
fixed typo

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>
32 4 Luis Figueira
33 4 Luis Figueira
34 4 Luis Figueira
35 4 Luis Figueira
h2. Tilde (@~@) operator
36 4 Luis Figueira
37 5 Luis Figueira
As of release 2009b MATLAB introduced the tilde (@~@)  operator (see http://www.mathworks.co.uk/help/techdoc/rn/br5fo8o-1.html)
38 4 Luis Figueira
39 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:
40 4 Luis Figueira
41 4 Luis Figueira
<pre>
42 4 Luis Figueira
./DL/two-step DL/dico_update.m:120:                    [U,~,V] = svd(patch);
43 4 Luis Figueira
./toolboxes/alps/ALPS/infty_ALPS.m:61:[~,N] = size(Phi);
44 4 Luis Figueira
./toolboxes/alps/ALPS/infty_ALPS.m:132:    [~, ind_der] = sort(abs(der).*complementary_Xi, 'descend');
45 4 Luis Figueira
./toolboxes/alps/ALPS/infty_ALPS.m:208:    [~, ind_z] = sort(abs(z), 'descend');
46 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);
47 4 Luis Figueira
./toolboxes/alps/ALPS/thresh.m:3:[~, ind] = sort(abs(x), 'descend');
48 4 Luis Figueira
[luisf@luis-mac.eecs.qmul.ac.uk ~/smallbox]
49 4 Luis Figueira
[2254] > ack "~,"  . 
50 4 Luis Figueira
DL/two-step DL/dico_update.m
51 4 Luis Figueira
120:                    [U,~,V] = svd(patch);
52 4 Luis Figueira
53 4 Luis Figueira
toolboxes/alps/ALPS/infty_ALPS.m
54 4 Luis Figueira
61:[~,N] = size(Phi);
55 4 Luis Figueira
132:    [~, ind_der] = sort(abs(der).*complementary_Xi, 'descend');
56 4 Luis Figueira
208:    [~, ind_z] = sort(abs(z), 'descend');
57 4 Luis Figueira
235:            [v, ~, ~] = cgsolve(cg_A(X_i, X_i), cg_b(X_i), params.cg_tol, params.cg_maxiter, cg_verbose);
58 4 Luis Figueira
59 4 Luis Figueira
toolboxes/alps/ALPS/thresh.m
60 4 Luis Figueira
3:[~, ind] = sort(abs(x), 'descend');
61 4 Luis Figueira
</pre>