Pause MATLAB job scheduler queue
pause(mjs) pauses the MATLAB job scheduler's queue so that jobs waiting in the queued state will not run. Jobs that are already running also pause, after completion of tasks that are already running. No further jobs or tasks will run until the resume function is called for the MJS.
The pause function does nothing if the MJS is already paused.