Trigger event callback from another event callback

8 visualizzazioni (ultimi 30 giorni)
I want to trigger 'CheckedNodesChangedFcn' callback of uitree from 'ButtonPushedFcn' callback of a pusbutton in appdesigner. Can anyone please suggest how to achieve this?

Risposta accettata

Kevin Holly
Kevin Holly il 5 Ago 2022
You can simply write
CheckedNodesChangedFcn(app)
within the 'ButtonPushedFcn' callback
  5 Commenti
Kevin Holly
Kevin Holly il 11 Ago 2022
Arkaniva,
Please see the app attached and let me know if it addresses your question.
Arkaniva Sarkar
Arkaniva Sarkar il 11 Ago 2022
It's exactly what I wanted to achieve.
Thank you.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by