"Enter" key function to assign variable in GUI
조회 수: 7 (최근 30일)
이전 댓글 표시
I have a problem in adding enter key to my GUI, while taking variable from the user. How can i write a function for enter key?
댓글 수: 3
답변 (1개)
Walter Roberson
2018년 10월 19일
Use the Callback property of the uicontrol. It will be run when the user presses return after selecting the control, or if the user makes a change to the content of the edit field and then clicks somewhere outside the control.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!