Writing S-Functions    
ssGetBlockReduction

Determine whether a block has requested block reduction before the simulation has begun and whether it has actually been reduced after the simulation loop has begun.

Syntax

Arguments

S
   SimStruct representing an S-Function block.

Description

The result of this function depends on when it is invoked. When invoked before the simulation loop has started, i.e., in mdlSetWorkWidths or earlier, this macro returns true if the block has previously requested that it be reduced. When invoked after the simulation loop has begun, this macro returns true if the block has actually been reduced, i.e., eliminated from the list of blocks to be executed during the simulation loop.

Languages

C

See Also

ssSetBlockReduction


  ssGetAbsTol ssGetContStateAddress