ssPruneNDMatrixSingletonDims
Prune trailing singleton dimensions
Syntax
void ssPruneNDMatrixSingletonDims(SimStruct *S, DimsInfo_T *dimsInfo)
Arguments
SSimStruct that represents an S-Function block.
dimsInfoStructure of type
DimsInfo_Tthat specifies the dimensionality of the signals accepted byport.See
ssSetInputPortDimensionInfofor a description of this structure.
Description
Removes all trailing singleton dimensions in the dimsInfo
structure. This function modifies the number of dimensions in the
dimsInfo structure, but it does not change the dimension size
array in dimsInfo.
Languages
C, C++
See Also
Version History
Introduced in R2007b