"Enter" key function to assign variable in GUI
14 ビュー (過去 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!