GUI indicator, Red light (indicator)

4 ビュー (過去 30 日間)
Bakheeta Ali Almnsoori
Bakheeta Ali Almnsoori 2021 年 3 月 15 日
Integrate a GUI indicator in Matlab so that when a car crossed the threshold with confidence level greater than 90, it show red light (indicator).

採用された回答

Monisha Nalluru
Monisha Nalluru 2021 年 3 月 18 日
From my understanding you want to have indicator in your GUI.
This is achieved adding uilamp to gui
You can change the color of the lamp based on the condition using Color property
As an example
fig = uifigure;
lmp = uilamp(fig);
% have the processing data
if data>90:
lmp.Color = 'red';
end
  1 件のコメント
Bakheeta Ali Almnsoori
Bakheeta Ali Almnsoori 2021 年 3 月 20 日
How can I instill the uilamp and GUI in the MATLAB? to make this code? Because I have a code for car detection, the labels, but I don't know how to make this code in GUI.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by