How do you create callback inside the callback?
조회 수: 1 (최근 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!