Sometimes you need to run a Matlab program which takes several days to finish. In some instances the user may not have control over when the computer will sleep by default.
This program moves the computer mouse by a small increment every 60 s keeping the computer awake.
Jack (2022). SleepNo.m (https://www.mathworks.com/matlabcentral/fileexchange/68481-sleepno-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!