Main Content

ssRegisterSymbolicDims

Create SymbDimsId from array of SymDimsIds

Languages

C, C++

Syntax

SymbDimsId ssRegisterSymbolicDims(SimStruct *S, const SymbDimsId* aDimsVec,
 const size_t aNumDims)

Arguments

S

SimStruct representing an S-Function block.

aDimsVec

Array of SymDimsIds

aNumDims

Size of SymDimsId array

Returns

A unique SymbDimsId (integer value) that represents a symbolic dimension specification.

Example

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