Main Content

mdlSetOutputPortSymbolicDimensions

Specify symbolic dimensions of an output port and how those dimension propagate backward

Languages

C, C++

Syntax

static void mdlSetOutputPortSymbolicDimensions(SimStruct *S, int_T portIndex,
 SymbDimsId symbDimsId)
#if defined(MATLAB_MEX_FILE)
#define MDL_SET_OUTPUT_PORT_SYMBOLIC_DIMENSIONS
{
}
#endif

Arguments

S

SimStruct representing an S-Function block.

portIndex

Index of an output port.

symbDimsId

Unique integer value corresponding to a symbolic dimension specification.

Returns

This function does not return a value.

Example

Call this function from inside the mdlInitializeSizes function. For an example of how to use this function to configure an S-function that supports forward and backward propagation of symbolic dimensions, see Configure Symbolic Dimensions for S-Function Blocks.

Version History

Introduced in R2016a