How to use nohup feature in MATLAB with Linux-based OS
Mostrar comentarios más antiguos
I have been curious to understand the usage of the nohup feature in MATLAB with a Linux-based OS. While I have attempted to find answers to my questions on the internet, the instructions provided by users can be quite confusing to follow. It would be greatly appreciated if someone could assist me in resolving the following queries.
- How to execute a MATLAB script file with nohup feature?
- How to know if the MATLAB script is being executed on nohup command?
- How to stop executing the MATLAB script midway, in case you start it by mistake?
Indeed, the queries and answers provided in this thread form a comprehensive guide for MATLAB users.
1 comentario
John Dzielski
el 24 de En. de 2025
Movida: Walter Roberson
el 22 de Feb. de 2025
This isn't an answer, it's an ask. I'm running on Ubuntu 24.04. I normally work on a Mac and like to start Matlab from a command prompt. I try running the nohup <path to executable> &> /dev/null & and the splash screen flashes briefly, but the Matlab window never opens. A ps shows Matlab is running. If I try another GUI application like veracrypt, the wondow opens. The matlab command works without the nohup and it works if I run the symlink in /usr/local/bin/matlab.
Any idea why this might not be working on Ubuntu?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!