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

3 次查看(过去 30 天)
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
It is possible if you use a drop down list or a popup menu. Every selection can captured using its callback.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by