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.

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.

Introduced in R2009b

Was this topic helpful?