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.

ssIsMajorTimeStep

Determine whether the simulation is in a major step

Syntax

boolean_T ssIsMajorTimeStep(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

The Boolean value true if the simulation is in a major time step. Otherwise, returns false.

Description

Use to determine if the simulation is currently running at a major or minor time step.

Languages

C, C++

Example

See the S-function sfun_zc.c used in sfcndemo_sfun_zc and the S-function sfun_atol.c used in sfcndemo_sfun_atol.

Introduced before R2006a

Was this topic helpful?