処理の実行トリガを「​フォルダ内のファイル​が更新されたら」とす​ることはできますか?

17 views (last 30 days)
daisuke shuugisono
daisuke shuugisono on 10 Apr 2018
Answered: Tohru Kikawada on 11 Apr 2018
matlabを実行後待機状態とし、指定フォルダ内のファイルが増える、もしくは上書きなどで更新されたら特定の処理を実行する(更新された画像の2値化画像を作成する等)ことはできますか?

Accepted Answer

Tohru Kikawada
Tohru Kikawada on 11 Apr 2018
下記にあるように timer クラスを使うことで特定のフォルダを監視/モニタリングすることができます。
ご参考なれば幸いです。

More Answers (0)

Categories

Find more on プログラミング in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!