指定フォルダ内のファ​イルが増えたら特定の​処理を実行するプログ​ラムを作りたい

MATLABで特定のフォルダ内のファイルが増えた時に,追加された画像ファイルを画像処理するプログラムを作りたいと考えています.
特定のフォルダの更新などを検知する方法が思いつかず困っています.
MATLABでこのようなことは可能でしょうか.

 Akzeptierte Antwort

Kojiro Saito
Kojiro Saito am 12 Jan. 2023

1 Stimme

こちらのAnswersに同様の質問がありました。timer関数を使って一定間隔でフォルダーをチェックし、dirコマンドでファイルが増えていたら処理する、のようにすれば実現できます。

1 Kommentar

大輝 隅岡
大輝 隅岡 am 16 Jan. 2023
回答ありがとうございます.それを参考に頑張ってみます.
ありがとうございました.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu イメージ finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!