How can I run a Matlab script at the same time everyday?

2 ビュー (過去 30 日間)
Steven Taylor
Steven Taylor 2019 年 9 月 12 日
コメント済み: Guillaume 2019 年 9 月 12 日
How can I run a Matlab script at the same time everyday (say at 6 AM MST)?
e.g.
>> traces = irisFetch.Traces('TX','PECS','00','HHZ','2019-08-20 00:00:00','2019-08-20 23:59:59','includePZ','WRITESAC:/Data/');
Thanks!

回答 (1 件)

Rik
Rik 2019 年 9 月 12 日
It is probably easiest to use the options your OS provides and run a headless instance of Matlab. On Windows you can use the task scheduler to have a .bat file run. In that .bat file you can write a command that calls Matlab. See more info here.
  1 件のコメント
Guillaume
Guillaume 2019 年 9 月 12 日
You don't even need a bat file. You can configure the task scheduler to launch matlab directly and run the correct script.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by