ERROR connecting to MATLAB
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Rajani Mishra
el 28 de Jul. de 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 comentarios
Ver también
Categorías
Más información sobre Call MATLAB from Python en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!