Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Contents

ssGetNumPWork

Get the size of a block's pointer work vector

Syntax

int_T ssGetNumPWork(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

An int_T value indicating the size of the PWork vector.

Description

Use this macro in any routine except mdlInitializeSizes to obtain the size of the pointer work vector used by the block represented by S.

Languages

C, C++

Was this topic helpful?