ssSetInputPortSymbolicDimsId
Set precompiled SymbDimsId of input
port
Languages
C, C++
Syntax
void ssSetInputPortSymbolicDimsId(SimStruct *S, const int_T aPortIdx, const SymbDimsId aSymbDimsId)
Arguments
- S
- SimStruct representing an S-Function block. 
- aPortIdx
- Array index 
- aSymbDimsId
- Unique integer value corresponding to a symbolic dimension specification. 
Returns
This function does not return a value.
Example
You can call this function from inside the mdlInitializeSizes function. For
                                an input port with an index of 0, this example
                                shows how to set the precompiled SymbDimsId equal
                                to inputDimsId.
                                
const SymbDimsId inputDimsId = ssRegisterSymbolicDimsExpr(S, "[A+3, B-2]");
    ssSetInputPortSymbolicDimsId(S, 0, inputDimsId);Version History
Introduced in R2016a