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 Exchange에서 Develop 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