Trigger event callback from another event callback

조회 수: 8 (최근 30일)
Arkaniva Sarkar
Arkaniva Sarkar 2022년 7월 28일
댓글: Arkaniva Sarkar 2022년 8월 11일
I want to trigger 'CheckedNodesChangedFcn' callback of uitree from 'ButtonPushedFcn' callback of a pusbutton in appdesigner. Can anyone please suggest how to achieve this?

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by