I want it so when we choose a item on the menu, a graph of that item chosen will load a grpah of all the info from that variable

댓글 수: 5

Adam Danz
Adam Danz 2020년 2월 6일
Create a dropdown menu or listbox that lists the items and a callback function that responds to the item you selected.
Alex Doan
Alex Doan 2020년 2월 6일
Can you show an example please!
Adam Danz
Adam Danz 2020년 2월 6일
편집: Adam Danz 2020년 2월 6일
I shared those 2 links becuase they provide examples. Scroll down to the examples section in each page and you'll see complete examples. Get started on it and if you get stuck, show us what you've got and I'd be glad to help you get over the hump.
Adam Danz
Adam Danz 2020년 2월 7일
Alex Doan's answer moved here as a comment.
I dont know those commands, I use the menu function and to index the data that I need when chosen from the menu
Adam Danz
Adam Danz 2020년 2월 7일
The documentation for menu() also contains examples that will help you get started. But note what's written on the top of that page.
Matlab recommends using a list dialog.
All of these links contain examples to get you started. I'd be glad to help if you get stuck.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 App Building에 대해 자세히 알아보기

질문:

2020년 2월 6일

댓글:

2020년 2월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by