how to create handles??

조회 수: 2 (최근 30일)
ARYA NAYAK
ARYA NAYAK 2016년 12월 24일
답변: Walter Roberson 2016년 12월 26일
i created one textbox and one push button, made it validation. but i got undefined handles error. i don't know how to create handles. basically gui will automatically creates handles using gui. but i created this 2 using uicontrol. i wrote call back for push button, i got undefined handles error.
please help me to solve the handles error.
  댓글 수: 2
Jan
Jan 2016년 12월 26일
편집: Jan 2016년 12월 26일
Please post your code and the complete error message. We have to guess, what you have written, to suggest an improvement.

댓글을 달려면 로그인하십시오.

답변 (2개)

Jan
Jan 2016년 12월 26일
편집: Jan 2016년 12월 26일
You can find excellent examples here: FEX: 41 GUI examples .
Perhaps you need this:
handles.Button = uicontrol('Style', 'PushButton', ...
'Callback', @myPushbuttonCB)

Walter Roberson
Walter Roberson 2016년 12월 26일

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by