Skip to Main Content Skip to Search
Product Documentation

restart - Reload most recent program file to processor signal processor

Syntax

IDE_Obj.restart
IDE_Obj.restart(timeout)

IDEs

This function supports the following IDEs:

Description

IDE_Obj.restart issues a restart command in the IDE debugger. The behavior of the restart process depends on the processor. Refer to the documentation for your IDE for details about using restart with various processors.

When IDE_Obj is an array that contains more than one processor, each processor calls restart in sequence.

IDE_Obj.restart(timeout) adds the optional timeout input argument. timeout defines an upper limit in seconds on the period the restart routine waits for completion of the restart process. If the time-out period is exceeded, restart returns control to MATLAB with a time-out error. In general, restart causes the processor to initiate a restart, even if the time-out period expires. The time-out error indicates that the restart confirmation was not received before the time-out period elapsed.

See Also

halt | isrunning | run

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS