How to program a menu with callbacks upon selection?

6 ビュー (過去 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 Center および File ExchangeDevelop 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