Writing S-Functions Previous page   Next Page
ssSetOutputPortOverwritesInputPort

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

inIdx
   Index of the input 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:

Language

C

See Also

ssSetInputPortOverWritable


Previous page  ssSetOutputPortOptimOpts ssSetOutputPortSampleTime Next page

© 1994-2005 The MathWorks, Inc.