Put array in ListBox to choose different values for plot/ App Designer
조회 수: 9 (최근 30일)
이전 댓글 표시
Hi,
I want to put all these values in the array G into my ListBox, but it doesn't show up.
My array "zR" has different sizes.
My purpose for the ListBox is to choose a number and show in my plot different lines. I am also open to other solutions besides the ListBox for my purpose.
Thank you in advance !
app.ListBox.Items=num2str(zR)
app.ListBox.ItemsData=num2str(zR)

댓글 수: 0
답변 (1개)
Mario Malic
2020년 12월 10일
Hello,
No need to assign ItemsData. Try this
app.ListBox.Items=num2str(zR(:))
댓글 수: 4
참고 항목
카테고리
Help Center 및 File Exchange에서 Pie Charts에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!