How to use nohup feature in MATLAB with Linux-based OS
Show older comments
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 Comment
John Dzielski
on 24 Jan 2025
Moved: Walter Roberson
on 22 Feb 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?
Accepted Answer
More Answers (0)
Categories
Find more on Direct Search in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!