Specify that the signal elements entering a port must be contiguous
void ssSetInputPortRequiredContiguous(SimStruct *S, int_T port, int_T flag)
SimStruct representing an S-Function block.
Index of an input port.
1) if signal elements must be
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
The default setting for this flag is false (
0). Hence, the
default method for accessing the input signals is