Main Content

SystemLog

Create system log component for instrument panel UI

Since R2021b

Description

hSysLog = slrealtime.ui.control.SystemLog(hFigure) creates a Speedgoat® 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 control properties, see slrealtime.ui Properties. It is important to set the TargetSource property for this control if you plan on using your app with target computers other than the default target computer.

example

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