MATLAB crashing from remote desktop

15 visualizzazioni (ultimi 30 giorni)
Rahul Gulia
Rahul Gulia il 7 Nov 2019
Risposto: Guillem Pratx il 26 Mar 2020
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."

Risposta accettata

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

Più risposte (1)

Guillem Pratx
Guillem Pratx il 26 Mar 2020
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.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by