Changing Makefile to ensure MEX points to matlab mex binary
Mostra commenti meno recenti
I have downloaded a repository from the following link
to run the code it is mentioned that " Edit matconvnet/Makefile to ensure MEX points to your matlab mex binary."
So I opened the Makefile in vi and found following lines of code to edit
*Makefile contents*
*Now my question is where to locate matlab mex binary path?*
*My effort*
I did following command in my ssh shell environment
locate matlab | grep mex
Still not getting how to edit MEX path in Makefile so that it points to matlab mex binary also How to use ENABLE_GPU?
5 Commenti
Joss Knight
il 17 Nov 2016
If I were you I would download MatConvNet directly from their own site ( http://www.vlfeat.org/matconvnet/ ) and follow their instructions. This will be much more up-to-date and hopefully the instructions will be clearer.
Naseer Khan
il 17 Nov 2016
Modificato: Naseer Khan
il 17 Nov 2016
Joss Knight
il 18 Nov 2016
This guy has included a version of MatConvNet in his git repository. It is out of date.
Naseer Khan
il 18 Nov 2016
Joss Knight
il 24 Nov 2016
This isn't really a MATLAB question, it's a question for the author of the package you're trying to use. The location of the 'mex executable' is the "bin" directory of your MATLAB installation. But what is going on here is that you need to understand more about the software you are trying to use in order to replicate the results.
Try contacting the author, reading the MatConvNet documentation, and reading the MATLAB documentation on MEX. Once you are more familiar with all the tools involved, you may have some more pertinent and specific MATLAB questions that you can bring back to this forum.
Risposte (1)
Walter Roberson
il 18 Nov 2016
The mex script location is
fullfile(matlabroot, 'bin', 'mex')
2 Commenti
Naseer Khan
il 19 Nov 2016
Walter Roberson
il 20 Nov 2016
-output <resultname>
Create mex-file named <resultname>. The appropriate mex-file
extension is automatically appended. Overrides mex's default
mex-file naming mechanism.
So try changing the -o "matlab/mex/gconv.mexa64" to -output "matlab/mex/gconv"
Categorie
Scopri di più su Downloads in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!