Main Content

reboot

Restart target computer

Since R2020b

Description

reboot(target_object) restarts the Speedgoat® 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.

example

Examples

collapse all

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

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

    tg = slrealtime('TargetPC1');
  2. Restart target computer.

    reboot(tg);

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Version History

Introduced in R2020b