Unable to resolve the name matlab.engine.start_matlab.
3 views (last 30 days)
Show older comments
I was installing matlab engine but I am getting this error- "Unable to resolve the name matlab.engine.start_matlab"
I have followed all steps given here- https://in.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html
Also I am enable to change pyenv version from 2.7 to 3.8.
Kindly help. thanks!
4 Comments
Yongjian Feng
on 3 Jul 2021
That is an error message during installation of matlab engine? The installation failed? Can you attach a screenshot here please?
Accepted Answer
Steven Lord
on 3 Jul 2021
My interpretation of the two lines of code in the "Start MATLAB Engine" section of the documentation page to which you linked is that you run those two lines of code in Python not in MATLAB. Before you start the MATLAB Engine, of course, you need to perform the installation listed in the "Install the Engine API" section of that page.
0 Comments
More Answers (1)
Yongjian Feng
on 3 Jul 2021
Those two lines of code shall be run in python.
Use a command line window from MacOS, and type python to start. Then type those two lines.
0 Comments
See Also
Categories
Find more on Call MATLAB from Python in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!