Call function Callback into myfunction

2 vues (au cours des 30 derniers jours)
Trop Trader
Trop Trader le 11 Fév 2024
Commenté : Aa le 14 Fév 2024
How can i call function Callback UpdateTableButtonPushed in my function MPV_Calc_Draw_Graph?
i try it but i get error

Réponses (1)

VBBV
VBBV le 11 Fév 2024
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 commentaires
VBBV
VBBV le 11 Fév 2024
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
Trop Trader le 11 Fév 2024
Modifié(e) : Trop Trader le 11 Fév 2024
ok thank

Connectez-vous pour commenter.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by