Clear Filters
Clear Filters

uicontrol syntax in callback function

2 views (last 30 days)
MrToad
MrToad on 29 Nov 2019
Commented: Walter Roberson on 2 Dec 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 Comments
Dhananjay Kumar
Dhananjay Kumar on 2 Dec 2019
Edited: Dhananjay Kumar on 2 Dec 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 on 2 Dec 2019
Is this GUIDE or App Designer?
How are you calculating the parent object ?

Sign in to comment.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!