Hi everyone,
I am doing a scientific research and I wrote a Matlab simulation program that takes many hours to compute. At the end of the computation, the code is supposed to save the variables in a .mat file. I am using a lab computer. When I am at work (i.e. using the pc), everything is fine and the workspace get saved correctly. However, since it's a lab computer, the pc tries to log out when I am not there. When Matlab is running, it prevents the pc from logging out, so it should be fine (I know it should be fine because it once tried to logout when I was still at work but the variables got saved). However, when I try to run the code overnight or over the weekend, I come back to work with no variables saved (there is no saved .mat file). What could be the cause of the problem? I am sure it has to do with the logging out thing, but I cannot figure out a way to solve it. Unfortunately I cannot change the settings of the computer because I do not have admin privileges. Any ideas?
Thank you!

 Akzeptierte Antwort

Jan
Jan am 30 Jul. 2018

0 Stimmen

You are supposed to work with this computer. So if you need changes with admin privileges, ask your admin.
Maybe the computer is restarted automatically, or an update of the operating system forces the computer to restart. Ask your admin for details.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2016a

Gefragt:

am 30 Jul. 2018

Beantwortet:

Jan
am 30 Jul. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by