how can i run spam toolbox ?

7 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2018-2-10
编辑:Walter Roberson 2018-2-10
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 个评论
muthana naeem
muthana naeem 2018-2-11
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 2018-2-11
This resource is for MATLAB. Octave support is described at https://www.gnu.org/software/octave/support.html

请先登录,再进行评论。

更多回答(2 个)

Jan
Jan 2018-2-10
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 个评论
muthana naeem
muthana naeem 2018-2-10
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

请先登录,再进行评论。


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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by