Writing S-Functions Previous page   Next Page
ssSetInputPortRequiredContiguous

Specify that 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.

flag
   True if signal elements must be contiguous.

Description

Specifies that the signal elements entering the specified port must occupy contiguous areas of memory. This allows a method to access the elements of the signal simply by incrementing the signal pointer returned by ssGetInputPortSignal. The S-function can set the value of this attribute as early as in the mdlInitializeSizes method and at the latest in the mdlSetWorkWidths method.

Languages

C, C++

See Also

mdlInitializeSizes, mdlSetWorkWidths, ssGetInputPortSignal, ssGetInputPortSignalPtrs


Previous page  ssSetInputPortOverWritable ssSetInputPortSampleTime Next page

© 1994-2005 The MathWorks, Inc.