how can i run spam toolbox ?

7 views (last 30 days)
muthana naeem
muthana naeem on 10 Feb 2018
Commented: Walter Roberson on 18 Aug 2018
please how can i run spam tool box the error is
>> test_image
Attempt to execute SCRIPT mexExtractPatches as a function:
D:\projectresearch2\matlabworks\spamsmatlabv26\build\mexExtractPatches.m
Error in test_image (line 8)
X=mexExtractPatches(I,n);
why the error occur

Accepted Answer

Walter Roberson
Walter Roberson on 10 Feb 2018
Edited: Walter Roberson on 10 Feb 2018
If you are using https://gitlab.inria.fr/thoth/spams-devel then as we discussed before, the compile script does not expect to function properly with gcc (MinGW is gcc) on MS Windows, and you probably need to use Visual Studios with -std=c++11 and might also need to make a small change to the source that I described for you before.
  2 Comments
muthana naeem
muthana naeem on 11 Feb 2018
my friend i change the compiler to vs c++ 2015 but when run compile_octave.m i found this problem as in the attachment
Walter Roberson
Walter Roberson on 11 Feb 2018
This resource is for MATLAB. Octave support is described at https://www.gnu.org/software/octave/support.html

Sign in to comment.

More Answers (2)

Jan
Jan on 10 Feb 2018
The readers cannot guess, which toolbox you are talking of. Maybe: https://github.com/gnebehay/SCM/tree/master/spams-matlab ?
Then the solution is, not to work inside the folder, which contains the M-file. So use cd to change the current directory to anything but D:\projectresearch2\matlabworks\spamsmatlabv26\build.
  1 Comment
muthana naeem
muthana naeem on 10 Feb 2018
i know that but the build file contain m file as in the attachment and move to the directory of it but still not work

Sign in to comment.


sufyan masood
sufyan masood on 18 Aug 2018
hello can any one tell about sparsify subband signal and subband modification of subband signals coeffiects in compressive signal. kindly guide me about it. i will be highly thankful to all for help me counter this problem.
  1 Comment
Walter Roberson
Walter Roberson on 18 Aug 2018
Sorry, this is a resource for questions about Mathworks products, not a resource for explaining signal processing or algorithms.

Sign in to comment.

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!