can we use msgbox and inputdlg together to get input in app designer matlab
4 次查看(过去 30 天)
显示 更早的评论
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');
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!