Main Content

reboot

Restart target computer

Description

example

reboot(target_object) restarts the target computer that is represented by the target_object. When you start the target computer, it boots the RTOS. The target computer boots in standalone mode. For more information, see Real-Time Application and Target Computer Modes.

You also can reboot the target computer 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.

Examples

collapse all

Get a target object and restart the target computer that it represents.

Get target object for target computer 'TargetPC1' and connect Simulink® Real-Time™ to the target computer.

tg = slrealtime('TargetPC1');

Restart target computer.

reboot(tg);

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Introduced in R2020b