Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ssGetNumRWork

Get the size of a block's floating-point work vector

Syntax

int_T ssGetNumRWork(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

An int_T value indicating the size of the RWork vector.

Description

Use this macro in any routine except mdlInitializeSizes to obtain the size of the floating-point (real_T) work vector used by the block represented by S.

Languages

C, C++

Example

See the S-function sfunmem.c used in sfcndemo_sfunmem.

Introduced before R2006a

Was this topic helpful?