Main Content

ssRegisterSymbolicDimsPlus

Create SymbDimsId by adding two symbolic dimensions

Languages

C, C++

Syntax

SymbDimsId ssRegisterSymbolicDimsPlus(SimStruct *S, const SymbDimsId aLHS,
 const SymbDimsId aRHS)

Arguments

S

SimStruct representing an S-Function block.

aLHS

Unique integer value corresponding to a symbolic dimension specification.

aRHS

Unique integer value corresponding to a symbolic dimension specification.

Returns

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

Example

This example shows how to add the SymbDimsId symbDims to symbolId, and then sets the result equal to a new SymbDimsId called outputDimsId.

const SymbDimsId outputDimsId = 
        ssRegisterSymbolicDimsPlus(S, symbDimsId, symbolId);

Version History

Introduced in R2016a