Main Content

ssGetStopRequested

Get the value of the simulation stop requested flag

Syntax

int_T ssGetStopRequested(SimStruct *S)

Arguments

S

SimStruct that represents 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++

Version History

Introduced before R2006a