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!

 채택된 답변

Jan
Jan 2018년 7월 30일

0 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2016a

태그

질문:

2018년 7월 30일

답변:

Jan
2018년 7월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by