How to identify block separately GUI

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 Commenti

Jan
Jan il 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?
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.

Accedi per commentare.

Risposte (1)

ES
ES il 13 Nov 2017
Modificato: ES il 13 Nov 2017

0 voti

You can set the background colour property on keypress callback.

Categorie

Richiesto:

il 13 Nov 2017

Commentato:

il 13 Nov 2017

Community Treasure Hunt

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

Start Hunting!

Translated by