Main Content

slrealtime start

(QNX Neutrino target computer RTOS) Start execution of real-time application on target computer

Since R2020b

Description

slrealtime start options starts execution of the real-time application that is loaded on the Speedgoat® target computer. Before using this command, you must create and load the real-time application on the target computer. If a real-time application is running, issuing a start command generates an error.

For more information about using this and other command-line interface commands, see Target Computer Command-Line Interface.

The slrealtime start command that you can run from the target computer command line corresponds to the start function that you can run from the MATLAB® Command Window on the development computer.

example

Examples

collapse all

From target computer command line, start execution of the real-time application that is loaded on the target computer. This start command sets the log level and the stop time.

slrealtime load --AppName slrt_ex_osc
slrealtime start --LogLevel info --StopTime Inf

Input Arguments

collapse all

Specify options as --Name1 <Value1> ... --NameN <ValueN>, where --Name is the option name and <Value> is the corresponding value. The order of these options does not matter.

Example: slrealtime start --LogLevel info

Note

The slrealtime start command for the target command line does not support the AutoImportFileLog and ExportToBaseWorkspace options that are available for the start command for the MATLAB Command Window.

Selects filtering level that limits Simulink® Real-Time™ target computer system messages that appear in the system log. For more information, see Simulink Real-Time Options Pane.

Example: --LogLevel info

The real-time application is clocked by a timer interrupt, unless the base sample rate is equal to or below the polling threshold (default is 100 μs). If the base sample rate is less than or equal to the threshold, the real-time application is clocked in polling mode.

Example: --PollingThreshold 100

Select the number of file logs to retain when logs are stored on the target computer instead of uploaded to the development computer after each simulation run.

Example: --FileLogMaxRuns 1

Select whether stimulation of root inports and Playback blocks starts when you start the real-time application.

Example: --StartStimulation on

Select stop time value for the real-time application, as a double-precision value.

Example: --StopTime Inf

Direct Simulink Real-Time to reload the real-time application on the target computer after the application stops.

Example: --ReloadOnStop false

Version History

Introduced in R2020b