GUI indicator, Red light (indicator)

16 vues (au cours des 30 derniers jours)
Bakheeta Ali Almnsoori
Bakheeta Ali Almnsoori le 15 Mar 2021
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).

Réponse acceptée

Monisha Nalluru
Monisha Nalluru le 18 Mar 2021
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 commentaire
Bakheeta Ali Almnsoori
Bakheeta Ali Almnsoori le 20 Mar 2021
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop uifigure-Based Apps dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by