Main Content
ssRegisterSymbolicDimsMultiply
Create SymbDimsId
by multiplying two
symbolic dimensions
Languages
C, C++
Syntax
SymbDimsId ssRegisterSymbolicDimsMultiply(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 multiply the SymbDimsId
s symbDimsId
and symbolId
.
It sets the result equal to a new SymbDimsId
called outputDimsId
.
const SymbDimsId outputDimsId = ssRegisterSymbolicDimsMultiply(S, symbDimsId, symbolId);
Version History
Introduced in R2016a