Programmatically event in App Designer, is it possible?
이전 댓글 표시
I am trying to create an event programmatically in App Designer, like a "PushedButton" or a "ValueChanged". Is it possible? I know that I can call the callback function directly, without passing the "event" argument, but I wish I could use notify function.
notify(app.myButton, 'ButtonPushed')
% Error using matlab.ui.control.Button/notify
% Cannot notify listeners of event 'ButtonPushed' in class 'matlab.ui.control.Button'.
댓글 수: 2
Adam Danz
2022년 9월 21일
Why not just call the ButtonPushed callback function directly?
Eric Delgado
2022년 9월 21일
편집: Eric Delgado
2022년 9월 21일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 National Instruments Frame Grabbers에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!