Main Content

SystemLog

Create system log component for instrument panel UI

Since R2021b

Description

example

hSysLog = slrealtime.ui.control.SystemLog(hFigure) creates a target computer system log display for an instrument panel uifigure figure. The display has a property to set time stamp option to Include Time Stamps.

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

Examples

collapse all

Create a target computer system log display and adjust the position of the display.

% Create figure  
hFig = uifigure();  
% Create simulation time component  
hLog = slrealtime.ui.control.SystemLog(hFig); 
% Change position of the component  
hLog.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 hSysLog argument is the handle to the system log component that you create.

Version History

Introduced in R2021b