App Designer Components Callbacks Stopped Working

조회 수: 8 (최근 30일)
Wictor Oliveira
Wictor Oliveira 2022년 11월 9일
댓글: Wictor Oliveira 2022년 11월 10일
I have several components in my app which callbacks stopped responding.
Ex:
The Component app.DynamicsKmaxEditField has the callback DynamicsKmaxEditFieldValueChanged.
But when the field is edited, the callback is not called!
If I right click the component in the Component Browser, it does not identify the callback, instead of showing "Go to DynamicsKmaxEditFieldValueChanged callback" it shows "Add ValueChangedFcn callback". If I click "Add ValueChangedFcn callback" it creates a second callback for the component DynamicsKmaxEditFieldValueChanged2, as if the first do not exist.
Then this second callback works. But I have to recreat all callbacks from other components. Not all stopped working though.
Any idea as to why that happend?

채택된 답변

chrisw23
chrisw23 2022년 11월 10일
편집: chrisw23 2022년 11월 10일
You can use the component browser to link any existing callback method to your button or create a new one.
Your original callback links got lost I think.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by