ERROR connecting to MATLAB
5 views (last 30 days)
Show older comments
Hello everyone,
I am currently trying to run a python program called OpenNFT that I had to get from github repo for work. I have run the setup build install for the matlab engine and when i run a pip list I do see the matlabengine installed for R2020a. I am currently running python 3.6 along with the MATLAB R2020_a on a MAC OS computer which is running Catilina. I am getting the following Error messages when Initializing my program:
matlab.engine.EngineError: Unable to connect to MATLAB session 'MATLAB_NFB_MAIN_15576'.
2020-07-10 08:26:56 | ERROR | runmatlab:connect_to_matlab - Cannot connect to Matlab "MATLAB_NFB_MAIN"
Hope to hear back soon thank you in advance to anyone who can help me I also left this question in their repo I will post If i get a fix from there.
0 Comments
Answers (1)
Rajani Mishra
on 28 Jul 2020
I came across a similar question : https://www.mathworks.com/matlabcentral/answers/305033-matlab-engine-for-python-with-shared-session.
Also refer to this link : https://www.mathworks.com/help/matlab/matlab_external/connect-python-to-running-matlab-session.html
0 Comments
See Also
Categories
Find more on Call MATLAB from Python in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!