Writing S-Functions    
ssGetInputPortRequiredContiguous

Determine whether the signal elements entering a port must be contiguous.

Syntax

Arguments

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

port
   Index of an input port.

Description

Returns true if the signal elements entering the specified port must occupy contiguous areas of memory. 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++

See Also
ssSetInputPortRequiredContiguous, ssGetInputPortSignal, ssGetInputPortSignalPtrs


  ssGetInputPortRealSignalPtrs ssGetInputPortReusable