You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing python3 -m pip install matlabengine and import matlab.engine,
I failed to start matlab engine. After I enter eng = matlab.engine.start_matlab(), it takes a very long time to get the output:
>>> eng = matlab.engine.start_matlab()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.10/site-packages/matlab/engine/__init__.py", line 130, in start_matlab
eng = future.result()
File "/usr/local/lib/python3.10/site-packages/matlab/engine/futureresult.py", line 67, in result
return self.__future.result(timeout)
File "/usr/local/lib/python3.10/site-packages/matlab/engine/matlabfuture.py", line 87, in result
handle = pythonengine.getMATLAB(self._future)
matlab.engine.EngineError: Connection to process with Exchange: " " was lost.
May I know if there is any solution to fix this?
The text was updated successfully, but these errors were encountered:
Hello,
I installed matlab r2022b and python 3.10.9.
After installing
python3 -m pip install matlabengine
andimport matlab.engine
,I failed to start matlab engine. After I enter
eng = matlab.engine.start_matlab()
, it takes a very long time to get the output:May I know if there is any solution to fix this?
The text was updated successfully, but these errors were encountered: