Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sparsifyc error #4

Open
mrtarkhan opened this issue Sep 15, 2017 · 1 comment
Open

sparsifyc error #4

mrtarkhan opened this issue Sep 15, 2017 · 1 comment

Comments

@mrtarkhan
Copy link

Undefined function or variable 'sparsifyc'.

Error in ncut (line 41)
W = sparsifyc(W,dataNcut.valeurMin);

is it compatible with Matlab 2015b?

@AymericFerreira
Copy link

I know that the question is old but I had this problem today so here the explanations

You need to recompile the file in 64 bits with the command

mex sparsifyc.gcc

Note that gcc needs to be in version 6.3.x so you probably need to install it

sudo apt install gcc-6 g++-6

On Windows you can install MinGW 6.3

Then chose the gcc-6 version when using mex

mex -v /usr/bin/gcc-6

Replace /usr/bin by the path to the application but on Linux it should be this on default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants