Skip to Main Content Skip to Search
Product Documentation

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

Syntax

void ssRegMdlSetInputPortDimensionsModeFcn(SimStruct *S, mdlSetInputPortDimensionsModeFcn fcn)

Arguments

S

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

Example

See the S-function sfun_varsize_holdStatesUntilReset.c.

See Also

mdlInitializeSizes, mdlSetInputPortDimensionsModeFcn

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS