Matlab 2025 crashing when running script through ssh
27 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When I ssh into my desktop computer which is running matlab 2025, and execute a matab script, eg running this command:
matlab -nodisplay -nosplash -nodesktop -r "run('/home/user/run_script.m');exit;"
matlab unceremoniously crashes. Screenshots attached.
This only started happening after updating to Matlab 2025 (so I could use the Deep Learning toolbox).
Please help! This makes it impossible to run any scripts remotely.


3 commentaires
Réponses (1)
Ronit
le 13 Août 2025 à 8:47
When running MATLAB R2025a scripts remotely via SSH, crashes may occur if certain required system dependencies are missing, particularly on Linux installations.
Below is a list of the linked dependencies. Please ensure that all of them are installed on your system.
You can also try a workaround by setting:
export QT_QPA_PLATFORM=vnc
This setting can help MATLAB run scripts in environments without a display server.
I hope this helps!
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!