uicontrol syntax in callback function

2 visualizaciones (últimos 30 días)
MrToad
MrToad el 29 de Nov. de 2019
Comentada: Walter Roberson el 2 de Dic. de 2019
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 comentarios
Dhananjay Kumar
Dhananjay Kumar el 2 de Dic. de 2019
Editada: Dhananjay Kumar el 2 de Dic. de 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 el 2 de Dic. de 2019
Is this GUIDE or App Designer?
How are you calculating the parent object ?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by