How do you create callback inside the callback?

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.
So...how can i make this happen?

Respuestas (1)

Geoff Hayes
Geoff Hayes el 23 de Jun. de 2022

0 votos

@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.

Categorías

Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.

Productos

Versión

R2022a

Etiquetas

Preguntada:

el 22 de Jun. de 2022

Respondida:

el 23 de Jun. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by