フィルターのクリア

How leave matlab asleep for a while

2 ビュー (過去 30 日間)
Mario Martos
Mario Martos 2016 年 7 月 5 日
コメント済み: José-Luis 2016 年 7 月 5 日
Hello ,
I would like to know how could leave paused or leave matlab asleep for a while. For example , every 30 seconds go by checking a process or query a database by while, for, pause ... but do not know how could run , I want this leisurely time to time without doing anything to from time to time perform a check. Thanks in advanced!
  1 件のコメント
José-Luis
José-Luis 2016 年 7 月 5 日
I don't get it. Do you want to run a Matlab script and display some output every 30s? In that case use a timer. Do you want to have a Matlab process running and have some other process check on it every 30s? In that case use some sort of interprocess communication. Could be as simple as saving/reading a file.

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

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 7 月 5 日
You could use a timer() object for that.

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by