MATLAB: How to keep a function operating while the screen is locked

suspended job

using MATLAB 2014A on macOS 10.11.6, I am running a function from the command line, and when I lock the screen the function suspends activity until I unlock it again.

Best Answer

In OS-X System Preferences, Energy Saver, Power Adapter, increase your Computer sleep time.