フィルターのクリア

App Designer Drop Down Options from Folder

15 ビュー (過去 30 日間)
Daniel Seligman
Daniel Seligman 2020 年 8 月 10 日
回答済み: Rik 2020 年 8 月 11 日
I am creating an app in App Designer and I was wondering if it was possible to create a Drop Down menu that is always updating with files from a designated folder as the options. I want to easily select these files and run them through the rest of my program. I am pretty new to Matlab and am hoping to get pretty detailed steps. I would be very grateful if somebody could help me out. Thank you!

回答 (1 件)

Rik
Rik 2020 年 8 月 11 日
'always updating' is a tricky concept. You probably don't want to check for new files every milisecond. I would suggest looking into timer objects.
Put the lines you want to run in a function and specify it as the TimerFcn property (this behaves the same as Callback functions, see the documentation for details and examples).

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by