MATLAB crashing from remote desktop

18 次查看(过去 30 天)
I am trying to use MATLAB from a remote desktop connection. And it is crashing every time.
I even reinstalled the whole program, but it is still crashing.
Can you please suggest me some solution for this.
I am getting the following error:
"load library failed with error 126. the specified module could not be found."

采纳的回答

Rahul Gulia
Rahul Gulia 2019-11-15
I updated my display drivers. And now i am able to use MATLAB in remote desktop connection. Well that worked for me.

更多回答(1 个)

Guillem Pratx
Guillem Pratx 2020-3-26
I had the same issue with MATLAB either crashing on start with the "error 126" message, or crashing when plotting anything on the screen, when running through Remote Desktop.
After many different trials, I figured out how to solve the issue:
  1. Remote login to the host
  2. Log yourself out fully (start button, click on user icon, "sign out")
  3. Remote login to host again
  4. Lauch MATLAB
What I understand is that if the current session was started locally, you need to fully sign out, then log back in again remotely, in order for the graphics settings to be properly configured.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by