reboot

Restart target computer

Description

example

reboot(target_object) restarts the target computer. If a target boot disk is still present, reboot reloads the Simulink® Real-Time™ kernel.

At the target computer command line, you can use the corresponding command:

reboot

Examples

collapse all

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

Get target object for target computer 'TargetPC1'

tg = SimulinkRealTime.target('TargetPC1')
Target: TargetPC1
   Connected            = Yes
   Application          = loader

Restart target computer.

reboot(tg)

Input Arguments

collapse all

Object that represents the target computer. Before calling this function, make sure that you start the target computer with the Simulink Real-Time kernel and apply the required Ethernet link settings.

Example: tg

Introduced in R2014a