Main Content

setStartupApp

Configure startup real-time application for target computer

Since R2020b

Description

setStartupApp(target_object,app_name) configures the Speedgoat® target computer to run the selected real-time application on startup.

example

Examples

collapse all

Create target object, connect to target computer, and configure the startup application for the target computer. When you reboot or restart the target computer, after the target computer boots the RTOS, the startup application is loaded and runs.

tg = slrealtime('TargetPC1');
connect(tg);
setStartupApp(tg,'slrt_ex_osc');

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Provides name of real-time application MLDATX file that you built from the model.

Example: 'slrt_ex_osc'

Version History

Introduced in R2020b