store listbox selections in array after pushbutton is pressed

조회 수: 1 (최근 30일)
miner
miner 2011년 8월 7일
답변: BhaTTa 2024년 10월 26일
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
Jan
Jan 2011년 8월 7일
What is your question? What have you done so far and which problem occurred?

댓글을 달려면 로그인하십시오.

답변 (1개)

BhaTTa
BhaTTa 2024년 10월 26일
Hey @miner, you can achieve the above requirement by adding a callback logic to pushbutton.
Please refer to this documentation.

카테고리

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