how can i run spam toolbox ?

7 Ansichten (letzte 30 Tage)
muthana naeem
muthana naeem am 10 Feb. 2018
Kommentiert: Walter Roberson am 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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 10 Feb. 2018
Bearbeitet: Walter Roberson am 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 Kommentare
muthana naeem
muthana naeem am 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 am 11 Feb. 2018
This resource is for MATLAB. Octave support is described at https://www.gnu.org/software/octave/support.html

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Jan
Jan am 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 Kommentar
muthana naeem
muthana naeem am 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

Melden Sie sich an, um zu kommentieren.


sufyan masood
sufyan masood am 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 Kommentar
Walter Roberson
Walter Roberson am 18 Aug. 2018
Sorry, this is a resource for questions about Mathworks products, not a resource for explaining signal processing or algorithms.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by