Skip to Main Content Skip to Search
Product Documentation

ssPruneNDMatrixSingletonDims - Prune trailing singleton dimensions

Syntax

void ssPruneNDMatrixSingletonDims(SimStruct *S, DimsInfo_T *dimsInfo)

Arguments

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.

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

ssSetInputPortDimensionInfo

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS