Prune trailing singleton dimensions
void ssPruneNDMatrixSingletonDims(SimStruct *S, DimsInfo_T *dimsInfo)
S
SimStruct representing an S-Function block.
dimsInfo
Structure of type DimsInfo_T
that specifies the
dimensionality of the signals accepted by port
.
See ssSetInputPortDimensionInfo
for a description of this
structure.
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
.
C, C++