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 件のコメント

Dhananjay Kumar
Dhananjay Kumar 2019 年 12 月 2 日
編集済み: Dhananjay Kumar 2019 年 12 月 2 日
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 2019 年 12 月 2 日
Is this GUIDE or App Designer?
How are you calculating the parent object ?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品

タグ

質問済み:

2019 年 11 月 29 日

コメント済み:

2019 年 12 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by