Deploy to target and load real-time application to target computer
load command checks whether Simulink®
Real-Time™ software is connected to the RTOS on the
target computer. If not connected,
the load connects to the target computer before loading the real-time application.
You also can load the real-time application from the RTOS command line. For more information, see Execute Target Computer RTOS Commands at Target Computer Command Line and Target Computer Command-Line Interface.
If you are running the real-time
application in standalone mode,
load, consider using the
install function and the
setStartupApp function. For more information about Simulink
Real-Time modes, see Real-Time Application and Target Computer Modes.
Load the real-time application
slrt_ex_osc on the
TargetPC1, represented by
tg. Start the application.
Get the target object, and then build the real-time application.
tg = slrealtime('TargetPC1');
Build the real-time application.
Load the real-time application.
Start the application.