Main Content

ssGetNumSymbolicDims

Get the number of dimensions for SymbDimsId

Languages

C, C++

Syntax

size_t  ssGetNumSymbolicDims(SimStruct *S, const SymbDimsId aSymbDimsId)

Arguments

S

SimStruct representing an S-Function block.

aSymbDimsId

Unique integer value corresponding to a symbolic dimension specification.

Returns

The number of dimensions for a SymbDimsId.

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