How to identify block separately GUI

1 次查看(过去 30 天)
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 个评论
Jan
Jan 2017-11-13
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 2017-11-13
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.

请先登录,再进行评论。

回答(1 个)

ES
ES 2017-11-13
编辑:ES 2017-11-13
You can set the background colour property on keypress callback.

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by