Call function Callback into myfunction
이전 댓글 표시
How can i call function Callback UpdateTableButtonPushed in my function MPV_Calc_Draw_Graph?
i try it but i get error


답변 (1개)
VBBV
2024년 2월 11일
Use simply the UpdateTableButton inside the function MPV_Calc_Draw_Graph.m file.
app.UpdateTableButton
and rename the function as
function UpdateTableButton(app,event)
댓글 수: 5
Trop Trader
2024년 2월 11일
편집: Trop Trader
2024년 2월 11일
VBBV
2024년 2월 11일
Can you attach the app file ?
Trop Trader
2024년 2월 11일
VBBV
2024년 2월 11일
Ok, if you name a pushbutton as UpdateTableButton its corresponing callback function in the app needs to have same name defined within the component methods. Conversly, when the callback function name differs from its GUI component name, it cannot find it and is likely to throw such type of errors.
Trop Trader
2024년 2월 11일
편집: Trop Trader
2024년 2월 11일
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
