Can Matlab imitate "activity" to prevent screen saver or PC lock in lengthy analysis?

9 views (last 30 days)
I have a heavy analysis that takes ~45 min, followed by lengthy "publish" of all graphical data. During the analysis there are no graphs presented. The output to the Matlab command window does not prevent the station from falling asleep.
My company's policy (enforced in a way I cannot change) is to lock the workstation after 15 min of inactivity. Once locked, the published plots are empty (black)... If I keep on working during the analysis (letting Matlab run in the background), everything is fine. However, I would like to leave it running and go home for the night.
Can Matlab imitate activity, either by moving the mouse or any other idea so the PC will "think" I am working in paralel and will not lock?
Thanks Ornit
  2 Comments
Ralf
Ralf on 27 Aug 2015
Does anybody has the solution to this? I tried move mouse but this didn't help.
% Move mouse mouse.mouseMove(i, i);
Stephen23
Stephen23 on 27 Aug 2015
One robust solution would be to simply save the figures in the native MATLAB .fig format, and convert/publish these in the morning. A simple conversion script or function could be used to perform the publishing.

Sign in to comment.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!