matlab: Command not found. Can't start MATLAB engine
Mostra commenti meno recenti
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 Commenti
Michael Mathew
il 30 Mag 2016
Kevin Poole
il 6 Giu 2016
Hi Michael,
What did you actually need to do to solve this issue in the end? What exactly do you mean that it was in internal fault within Ubuntu. I am having a similar issue on Ubuntu even though my paths seem to be set properly as well. Please advise.
lin box
il 14 Mar 2020
can you pls explain how to solve this issue?
Jaime Sáiz de la Peña
il 10 Nov 2022
Did any one of you manage to solve it? Thank you very much
Risposte (0)
Categorie
Scopri di più su Startup and Shutdown 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!