GUI indicator, Red light (indicator)

조회 수: 4 (최근 30일)
Bakheeta Ali Almnsoori
Bakheeta Ali Almnsoori 2021년 3월 15일
댓글: Bakheeta Ali Almnsoori 2021년 3월 20일
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 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