Show value of a callback function in uicontrol text
Afficher commentaires plus anciens
Hi,
I have a function:
function x=func()
x=12;
end
and I want to use the returned value x in another function as a callback value in a uicontrol text.
1 commentaire
Walter Roberson
le 23 Mai 2021
x = func();
handles.NameOfUiControl.String = num2str(x);
Réponses (0)
Catégories
En savoir plus sur App Building dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!