Clear Filters
Clear Filters

How to identify block separately GUI

1 view (last 30 days)
kavinda hw
kavinda hw on 13 Nov 2017
Commented: kavinda hw on 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 Comments
Jan
Jan on 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 on 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.

Sign in to comment.

Answers (1)

ES
ES on 13 Nov 2017
Edited: ES on 13 Nov 2017
You can set the background colour property on keypress callback.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!