uicontrol syntax in callback function

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
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?
Walter Roberson
Walter Roberson le 2 Déc 2019
Is this GUIDE or App Designer?
How are you calculating the parent object ?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange

Produits

Tags

Question posée :

le 29 Nov 2019

Commenté :

le 2 Déc 2019

Community Treasure Hunt

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

Start Hunting!

Translated by