Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ssSetStopRequested

Set the simulation stop requested flag

Syntax

void ssSetStopRequested(SimStruct *S, int_T val)

Arguments

S

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

val

Boolean value (int_T) specifying whether stopping the simulation has been requested (1) or not (0).

Description

Sets the simulation stop requested flag to val. If val is 1, the Simulink engine halts the simulation at the end of the current time step.

Languages

C, C++

Introduced before R2006a

Was this topic helpful?