Installation Location of MEX
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Connie
am 21 Feb. 2013
Kommentiert: ZHUJUN SHI
am 29 Jan. 2018
Hi,
I am building a peripheral (NLopt library) on an Ubuntu machine where the MATLAB plugin that gets built needs to know the location of MEX. aka:
./configure MEX=/path/to/mex
Where is MEX actually located?
4 Kommentare
Akzeptierte Antwort
Ryan Livingston
am 21 Feb. 2013
There is usually a shell script in
$MATLABROOT/bin/mex
where $MATLABROOT is the output of
matlabroot
in MATLAB. This should be marked executable and can be invoked as such.
3 Kommentare
Richard
am 23 Mär. 2014
Hi Connie, your problem is that you're using MEX=/home/connie/MATLAB/R2012b/bin/ instead of:
./configure MEX=/home/connie/MATLAB/R2012b/bin/mex
Hope that helps.
ZHUJUN SHI
am 29 Jan. 2018
Hi I got the same problem ' failed to compile a simple file; won't compile Matlab plugin'. Would you mind sharing how you solved this problem?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Troubleshooting in MATLAB Compiler SDK finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!