MATLAB: How to deploy a listbox from a pushbutton in a GUI

listboxmatlab guipushbutton

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 🙂

Best Answer

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)