Pop-up menu multiple functions
이전 댓글 표시
I want to write multiple functions within MATLAB and use callback for each function in the pop-up menu. How can this be done?
댓글 수: 3
Jan
2018년 3월 19일
The question is not clear. What does "use callback for each function" mean?
Lawrence Jarrett
2018년 3월 20일
Jan
2018년 3월 20일
It is worth to be nitpicking: You cannot write a "callback function for the different functions". Callbacks are related to GUI objects. So the popup-menu has a callback function, in which you can see by the property "Value" which item was selected. Then you can do with this information whatever you want. You did not explain what you want to be done by this callback, therefore I cannot suggest any code.
I assume you have an idea of what should happen at which action. If you need help with the implementation, post what you have written so far and explain, what you want to do.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 App Building에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!