-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to open a MATLAB engine session on Windows #167
Comments
which julia version and platform? |
Julia 1.2.0 Windows10 |
Without explicitly calling
to see if Julia will connect to the Matlab engine? |
It reports the error: |
very odd. |
I had to do the following (which is manually/hardcoded for R2020b)
|
Hi, the above mentioned workaround does not work for me. I still get the same error message. Is there another workaround so I can run MATLAB 2020b from julia while in parallel MATLAB2022b installed on my machine? |
Hi @VoSiLk ! What you could try (if not already done):
|
One more thing: If you're on Windows, there seems to be an extra step.
The version of MATLAB you opened, should now be the "default" version according to Windows. Link to MATLAB docs: |
Thanks for your help. The extra step:
before
has done the trick :) My OS is Win11. |
Perfect! Thanks for trying (don't have a windows machine to test this) :) I will push an update the error/help message |
Hello,
When calling MSession(), I get the following error on Windows:
ERROR: MEngineError("Failed to open a MATLAB engine session")
in MSession at MATLAB\cVrxc\src\engine.jl:23.
I'm using Matlab R2019b 64 bits. I can start Matlab normally.
I have set the env variable MATLAB_HOME and runned matlab -regserver in a Command Prompt as Administrator.
Anyone knows how to fix this?
The text was updated successfully, but these errors were encountered: