How do I send a value without press enter on Matlab GUI?

I'm making a Graphical Interface on Matlab GUI, that I set a number and get an answer. But, when I set the number, I always have to press <enter> to get the answer.
I'd like to know how do I set the number and automatically get the answer, like an "automatic enter".

1 件のコメント

Adam Danz
Adam Danz 2018 年 11 月 12 日
You could set the edit-callback (if the feature has one) but you'll still need to press enter or tab so the GUI knows you're done editing the text.

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

 採用された回答

Arunkumar M
Arunkumar M 2018 年 11 月 13 日

0 投票

It is possible if you use a drop down list or a popup menu. Every selection can captured using its callback.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

タグ

質問済み:

2018 年 11 月 12 日

回答済み:

2018 年 11 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by