フィルターのクリア

can we use msgbox and inputdlg together to get input in app designer matlab

7 ビュー (過去 30 日間)
MakM
MakM 2022 年 4 月 19 日
回答済み: chrisw23 2022 年 4 月 20 日
I have below code, I want to put msgbox and input from the user on the same dialog box, is there any way I can do it?
for d_i = 1:length(data_files_all)
msg_box_loop{d_i}=(sprintf([ '(%02d) %s \n'], d_i, data_files_all(d_i).name))
end
msgbox(msg_box_loop)
pat_idstr = input('Choose from above options: ', 's');
  1 件のコメント
Les Beckham
Les Beckham 2022 年 4 月 19 日
I suggest reading the documentation for listdlg to see if it will do what you want.

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

採用された回答

chrisw23
chrisw23 2022 年 4 月 20 日
You can build your custom dialog as an appdesigner app and call it from your main app. You will have full access to any uicontrol data of your custom dialog.

その他の回答 (0 件)

カテゴリ

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