Skip to Main Content Skip to Search
Product Documentation

ssGetNumModes - Get the size of the mode vector

Syntax

int_T ssGetNumModes(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

An int_T value indicating the size of the mode work vector.

Description

Use this macro in any routine except mdlInitializeSizes to obtain the size of the mode work vector.

Languages

C, C++

See Also

ssSetNumNonsampledZCs, ssGetNonsampledZCs

  


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