matlab: Command not found. Can't start MATLAB engine

조회 수: 2 (최근 30일)
Michael Mathew
Michael Mathew 2016년 5월 29일
댓글: Jaime Sáiz de la Peña 2022년 11월 10일
I trying to compile the a engdemo.cpp from g++ on Ubuntu 14.04: I installed cshell in /bin/csh and did set the
LD_LIBRARY_PATH=<matlabroot>/bin/glnxa64:<matlabroot>/sys/os/glnxa64.
<matlabroot> is the right folder /usr/local/MATLAB...
I used following instruction to compile the engdemo.cpp:
g++ -I<matlabroot>/extern/include engdemo.cpp -lmx -leng -L<matlabroot>/bin/glnxa64 -o engdemo
It compiles correctly. But I am unable to run the code. On running, I get the error:
matlab: Command not found.
Can't start MATLAB engine
What could be reason? I checked many forums and matlab community and whatever solution mentioned in them are satisfied in my case. Could somebody please tell what went wrong?
  댓글 수: 4
lin box
lin box 2020년 3월 14일
can you pls explain how to solve this issue?
Jaime Sáiz de la Peña
Jaime Sáiz de la Peña 2022년 11월 10일
Did any one of you manage to solve it? Thank you very much

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by