Call function Callback into myfunction
Mostra commenti meno recenti
How can i call function Callback UpdateTableButtonPushed in my function MPV_Calc_Draw_Graph?
i try it but i get error


1 Commento
Aa
il 14 Feb 2024
Attach file
Risposte (1)
VBBV
il 11 Feb 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 Commenti
Trop Trader
il 11 Feb 2024
Modificato: Trop Trader
il 11 Feb 2024
VBBV
il 11 Feb 2024
Can you attach the app file ?
Trop Trader
il 11 Feb 2024
VBBV
il 11 Feb 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
il 11 Feb 2024
Modificato: Trop Trader
il 11 Feb 2024
Categorie
Scopri di più su Develop Apps Using App Designer in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
