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.

ssGetNumContStates

Get the number of continuous states that a block has

Syntax

int_T ssGetNumContStates(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block or a Simulink® model.

Returns

An int_T value indicating the number of continuous states.

Description

Use to obtain the number of continuous states in the block or model represented by S. You can use this macro in any routine except mdlInitializeSizes.

Languages

C, C++

Example

See the S-function stvctf.c used in sfcndemo_stvctf.

Introduced before R2006a

Was this topic helpful?