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.

ssGetRealDiscStates

Get a block's discrete state vector

Syntax

real_T *ssGetRealDiscStates(SimStruct *S) 

Arguments

S

SimStruct representing an S-Function block.

Returns

The discrete state vector as an array of real_T elements of length ssGetNumDiscStates(S).

Description

Same as ssGetDiscStates.

Languages

C, C++

Example

See the S-function dsfunc.c used in sfcndemo_dsfunc and the S-function vsfunc.c used in sfcndemo_vsfunc.

Introduced before R2006a

Was this topic helpful?