uicontrol syntax in callback function
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
In Matlab R2017b, the call syntax
c = uicontrol(parent);
executes as documented when used in a script, but fails when used in a @callback function in which the desired parent object
is passed as an argument, reporting the error "Not enough input arguments".
Has anyone seen this before?
Thanks
2 commentaires
Dhananjay Kumar
le 2 Déc 2019
Modifié(e) : Dhananjay Kumar
le 2 Déc 2019
Can you post the calbback function's signature and how you are using it, I mean an example snippet of code?
Also see if this is relevant: https://in.mathworks.com/matlabcentral/answers/408266-why-do-i-get-this-error?s_tid=answers_rc1-3_p3_Topic
Walter Roberson
le 2 Déc 2019
Is this GUIDE or App Designer?
How are you calculating the parent object ?
Réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!