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