Contents

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++

Was this topic helpful?