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

8 次查看(过去 30 天)
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 个评论
Ralf
Ralf 2015-8-27
Does anybody has the solution to this? I tried move mouse but this didn't help.
% Move mouse mouse.mouseMove(i, i);
Stephen23
Stephen23 2015-8-27
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by