How do you create callback inside the callback?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi, I'm working on a project with Matlab AppDesigner.
This is practically what i want to do.
- Write Azimuth, Elevation values.
- Press 'Run' button to do stuff(not very important).
- Then, I create another button 'up' or 'down', so when i press the button, it increases or decreases the written azimuth and elevation value by 5.
- Press 'Run' button to do stuff with changed values.
From what i know, so far, to do this, I need to create callback for Run button and also create callback for Up button.
So...how can i make this happen?
0 件のコメント
回答 (1 件)
Geoff Hayes
2022 年 6 月 23 日
@SooYoung Oh - highlight the button (from within App Designer) and right-click to select Callback -> Add ButtonPushed callback (or something similar). See callbacks in App Designer for details.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!