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

조회 수: 3 (최근 30일)
Elisandro Peixoto
Elisandro Peixoto 2018년 11월 12일
답변: Arunkumar M 2018년 11월 13일
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