| Writing S-Functions | ![]() |
Specify dimension information for an input port that accepts vector signals
Syntax
Arguments
S
SimStruct representing an S-Function block.
Width of vector or DYNAMICALLY_SIZED.
Description
Specifies that port accepts a w-element vector signal. Returns 1 if successful; otherwise, 0.
Languages
Example
The following example specifies that input port 0 accepts an 8-element matrix signal.
See Also
| ssSetInputPortSampleTime | ssSetInputPortWidth | ![]() |
© 1994-2005 The MathWorks, Inc.