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

Attempt to execute SCRIPT vl_nnconv as a function: #17

Closed
saraershadi opened this issue Jan 15, 2018 · 1 comment
Closed

Attempt to execute SCRIPT vl_nnconv as a function: #17

saraershadi opened this issue Jan 15, 2018 · 1 comment

Comments

@saraershadi
Copy link

Hello,

I am using gcc 4.7 and g++ 4.7. and Matlab version Matlab2016a. They are compatible with making the mex files.
I used the command vl_compilenn to compile the files in Matlab folder and making the mex files.
Now mex files of are existed in matlab/mex folder.

I called matlab in test folder and use this command to add the subdirectory and mex files.
addpath(genpath(../matlab))
But when I tried to run the test_gallery_query_crazy.m file it reaches to this error.

Attempt to execute SCRIPT vl_nnconv as a function:

What is the source of this error ?

Thanks in advance.
Sarah

@layumi
Copy link
Owner

layumi commented Jan 15, 2018

Dear @saraershadi
Matlab will find the mex file first. If matlab does not find mex file, it will find the script file.
So the error raise 'Attempt to execute script xxx'

Are there any mex files generated in ./matlab/mex folder?
Or you may try to compile it again.

This website may help you.
http://www.vlfeat.org/matconvnet/install/

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