How to program a menu with callbacks upon selection?

조회 수: 2 (최근 30일)
Rakan
Rakan 2023년 4월 18일
편집: chicken vector 2023년 4월 20일
Hello,
I have to create a menu that has sub menu in app designer with the ability to know which option of the menu or the sub menu the user selects.Is there a simple way? Hereby a photo of the the menu that i want to create, please not that i want to create this menu dynamically by the code, because the sub menus are depending on a program.

채택된 답변

chicken vector
chicken vector 2023년 4월 19일
편집: chicken vector 2023년 4월 20일
Have a look at this simple app.
You can selecte different voices from the menu bar and see the results on the GUI.
Be careful, if you want to implement this in app designer the syntax for the callbacks is slightly different, but it's managed by Matlab automatically.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by