How to identify block separately GUI

3 vues (au cours des 30 derniers jours)
kavinda hw
kavinda hw le 13 Nov 2017
Commenté : kavinda hw le 13 Nov 2017
I want to identify or glow one block at a time respect to the input value. ex., if the input is numbers, if input = 3 glow third block, if input is 6 glow sixth block like vice.
  2 commentaires
Jan
Jan le 13 Nov 2017
What is the input value? What should what appear and how? Is this an image, 6 buttons, a table object, an Excel file or printed on paper?
kavinda hw
kavinda hw le 13 Nov 2017
this is a sample GUI with 6 blocks. input values are 1 to 6 , one input per time. when one number input to the GUI relevant block must glow. think as six LEDs.

Connectez-vous pour commenter.

Réponses (1)

ES
ES le 13 Nov 2017
Modifié(e) : ES le 13 Nov 2017
You can set the background colour property on keypress callback.
  1 commentaire
kavinda hw
kavinda hw le 13 Nov 2017
input is come from another algorithm.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by