Installation Location of MEX
조회 수: 12 (최근 30일)
이전 댓글 표시
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?
채택된 답변
Ryan Livingston
2013년 2월 21일
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
Richard
2014년 3월 23일
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
2018년 1월 29일
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?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!