Main Content


Create TET monitor component for instrument panel UI



hMonitor = slrealtime.ui.control.TETMonitor(hFigure) creates a task execution time (TET) monitor display for an instrument panel uifigure figure. The display shows the amount of time a task takes to run one step in the real-time application. 

For information about display properties, see slrealtime.ui Properties.


collapse all

Create a TET monitor display and adjust the position of the display.

% Create figure 
hFig = uifigure(); 
% Create TET task component 
hTET = slrealtime.ui.control.TETMonitor(hFig); 
% Change position of the component 
hTET.Position = [0 0 200 200]; 

Input Arguments

collapse all

The hFigure argument identifies the uifigure to which you are adding the UI component.

Example: hFig = uifigure()

Data Types: function_handle

Output Arguments

collapse all

The hMonitor argument is the handle to the TET monitor display component that you create.

Version History

Introduced in R2021b