| Writing S-Functions | ![]() |
Input Ports Pane
The Input Ports pane allows you to inspect and modify the properties of the S-function's input ports.
The pane comprises an editable table that lists the properties of the input ports in the order in which the ports appear on the S-function block. Each row of the table corresponds to a port. Each entry in the row displays a property of the port as follows.
Port name
Name of the port. Edit this field to change the port name.
Dimensions
Lists the number of dimensions of input signals accepted by the port. To display a list of supported dimensions, click the adjacent button. To change the port's dimensionality, select a new value from the list. (Simulink signals can have at most two dimensions).
Row
Specifies the size of the input signal's first (or only) dimension.
Column
Specifies the size of the input signal's second dimension (only if the input port accepts 2-D signals).
Complexity
Specifies whether the input port accepts real or complex-valued signals.
Frame
Specifies whether this port accepts frame-based signals generated by the Communications Blockset. See the documentation for this blockset for more information.
| Data Properties Pane | Output Ports Pane | ![]() |
© 1994-2005 The MathWorks, Inc.