Main Content

ssGetNumModes

Get the size of the mode vector

Syntax

int_T ssGetNumModes(SimStruct *S)

Arguments

S

SimStruct that represents 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++

Version History

Introduced before R2006a