How can I deploy a listbox from a pushbutton in a GUI?
1 次查看(过去 30 天)
显示 更早的评论
I have to deploy from a pushbutton a listbox that shows listed functions like: sen(x), tan(x), cos(x), etc. It is possible? Thanks for all your answers. Have a great day :)
0 个评论
采纳的回答
Andrew Reibold
2014-7-7
listdlg('ListString',S) creates a modal dialog box which allows you to select a string or multiple strings from a list.
You can use a cell array with all the things you want in it to display more than one item (making it a list)
0 个评论
更多回答(1 个)
Joseph Cheng
2014-7-7
With what Andrew has above or if this is created using GUIDE, you can create the listbox ahead of time but have its 'Visible' property off so it is hidden until the pushbutton is pressed.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!