Main Content

ssRegMdlSetInputPortDimensionsModeFcn

Register the method to handle dimensions mode propagation for each input port.

Syntax

void ssRegMdlSetInputPortDimensionsModeFcn(SimStruct *S, mdlSetInputPortDimensionsModeFcn fcn)

Arguments

S

SimStruct that represents an S-Function block.

fcn

Function pointer corresponding to the function being registered.

Returns

No return value.

Description

Use this function in mdlInitializeSizes to register the input port dimensions mode propagation method.

Languages

C, C++

Examples

See the S-function sfun_varsize_holdStatesUntilReset.c.

Version History

Introduced in R2009b