store listbox selections in array after pushbutton is pressed

5 Ansichten (letzte 30 Tage)
miner
miner am 7 Aug. 2011
Beantwortet: BhaTTa am 26 Okt. 2024 um 17:56
I have created a gui which contains a listbox and some pushbuttons. In the listbox, the user can select anywhere from 1 to multiple options. I would like to store the selections in an array after a pushbutton is pressed and output that array to another function.
Thanks
  1 Kommentar
Jan
Jan am 7 Aug. 2011
What is your question? What have you done so far and which problem occurred?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

BhaTTa
BhaTTa am 26 Okt. 2024 um 17:56
Hey @miner, you can achieve the above requirement by adding a callback logic to pushbutton.
Please refer to this documentation.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by