How do you create callback inside the callback?

1 Ansicht (letzte 30 Tage)
SooYoung Oh
SooYoung Oh am 22 Jun. 2022
Beantwortet: Geoff Hayes am 23 Jun. 2022
Hi, I'm working on a project with Matlab AppDesigner.
This is practically what i want to do.
  1. Write Azimuth, Elevation values.
  2. Press 'Run' button to do stuff(not very important).
  3. 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.
  4. 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. can i make this happen?

Antworten (1)

Geoff Hayes
Geoff Hayes am 23 Jun. 2022
@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.


Mehr zu Environment and Settings finden Sie in Help Center und File Exchange





Community Treasure Hunt

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

Start Hunting!

Translated by