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 件のコメント

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 日

0 投票

You can set the background colour property on keypress callback.

1 件のコメント

kavinda hw
kavinda hw 2017 年 11 月 13 日
input is come from another algorithm.

サインインしてコメントする。

カテゴリ

質問済み:

2017 年 11 月 13 日

コメント済み:

2017 年 11 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by