Skip to Main Content Skip to Search
Product Documentation

ssGetStopRequested - Get the value of the simulation stop requested flag

Syntax

int_T ssGetStopRequested(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block or a Simulink model.

Returns

The int_T value of the simulation stop requested flag.

Description

Gets the value of the simulation stop requested flag. If the value is 1, the Simulink engine halts the simulation at the end of the current time step.

Languages

C, C++

See Also

ssSetStopRequested

  


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