xPC Target |
 |
xPC Target Software Reboot
You can use the Software Reboot block to reboot the target PC when your simulation reaches a certain state. For example, if your control system becomes unstable you may want to reboot the target PC.
This block has one input. The input is the reboot signal and accepts the following values:
- 1 -- Reboots the target PC.
- 0 -- If you use a Software Reboot block and you don't want the target PC to reboot, the input value to this block must be
0
.
Block Parameters
|
Description
|
Sample time
|
Enter a base sample time or a multiple of the base sample time.
|
Note
Not all systems support rebooting from software. You can test whether your system supports a software reboot. From the MATLAB command window, enter xpctest . For more information, see Testing the Installation.
|
| To xPC Target | | I/O Port Read |  |