Unable to resolve the name matlab.eng​ine.start_​matlab.

3 views (last 30 days)
I was installing matlab engine but I am getting this error- "Unable to resolve the name matlab.engine.start_matlab"
Also I am enable to change pyenv version from 2.7 to 3.8.
Kindly help. thanks!
  4 Comments
Yongjian Feng
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?

Sign in to comment.

Accepted Answer

Steven Lord
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.

More Answers (1)

Yongjian Feng
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.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!