How can I deploy a listbox from a pushbutton in a GUI?

조회 수: 1 (최근 30일)
Edgar
Edgar 2014년 7월 7일
답변: Joseph Cheng 2014년 7월 7일
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 :)

채택된 답변

Andrew Reibold
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)

추가 답변 (1개)

Joseph Cheng
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.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by