Documentation Center

  • Trial Software
  • Product Updates

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++

Was this topic helpful?