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