Writing S-Functions    
ssSetInputPortOverWritable

Specify whether an input port can be overwritten.

C Syntax

Ada Syntax

Arguments

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

port
   Index of the input port whose overwritability is being set.

Value specifying whether port is overwritable.

Description

Use in mdlInitializeSizes (after ssSetNumInputPorts) to specify whether the input port is overwritable by an output port. The default is isOverwritable=0, which means that the input port does not share memory with an output port. When isOverwritable=1, the input port shares memory with an output port.

Languages

Ada, C

See Also
ssSetNumInputPorts, ssSetInputPortReusable, ssSetOutputPortReusable, ssGetInputPortBufferDstPort


  ssSetInputPortOffsetTime ssSetInputPortRequiredContiguous