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

2 vues (au cours des 30 derniers jours)
Elisandro Peixoto
Elisandro Peixoto le 12 Nov 2018
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 commentaire
Adam Danz
Adam Danz le 12 Nov 2018
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.

Connectez-vous pour commenter.

Réponse acceptée

Arunkumar M
Arunkumar M le 13 Nov 2018
It is possible if you use a drop down list or a popup menu. Every selection can captured using its callback.

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by