| Writing S-Functions | ![]() |
Specify whether an output port can share its memory buffer with an input port.
Syntax
Arguments
S
SimStruct representing an S-Function block.
outIdx
Index of the output port
Description
The argument inIdx tells Simulink which input port of S can share its memory with the output port specified by outIdx. inIdx can have the following values:
ssSetInputPortOverWritable to tell Simulink that the specified input port can share its memory with an output port.
OVERWRITE_INPUT_ALL
OVERWRITE_INPUT_NONE
Language
See Also
| ssSetOutputPortOptimOpts | ssSetOutputPortSampleTime | ![]() |
© 1994-2005 The MathWorks, Inc.