Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

ssGetInputPortRequiredContiguous - Determine whether the signal elements entering a port must be contiguous

Syntax

int_T ssGetInputPortRequiredContiguous(SimStruct *S, int_T port)

Arguments

S

SimStruct representing an S-Function block.

port

Index of an input port.

Returns

An int_T (1 or 0) or boolean_T (true or false) value indicating if the signal elements entering a port must be contiguous.

Description

Use to determine if the signal elements entering a port must be contiguous. Returns 1 (true) if the signal elements entering the specified port must occupy contiguous areas of memory. Otherwise, returns 0 (false). If the elements are contiguous, a method can access the elements of the signal simply by incrementing the signal pointer returned by ssGetInputPortSignal.

Languages

C, C++

Example

See the reference page for ssGetInputPortSignal for an example that uses this function.

See Also

ssSetInputPortRequiredContiguous, ssGetInputPortSignal, ssGetInputPortSignalPtrs

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS