| Simulink Reference | ![]() |
Describe a block input or output port.
Description
This class defines properties that are common to objects that provide runtime information about a block's ports.
Parent
Children
Simulink.BlockPreCompInputPortData, Simulink.BlockPreCompOutputPortData, Simulink.BlockCompInputPortData, Simulink.BlockCompOutputPortData
Property Summary
| Name |
Description |
|
True if this port is connected to a bus. |
|
True if this port produces output or accepts input at the current simulation time step. |
|
Sample time of this port. |
|
Sample time index of this port. |
|
Sampling mode of the port. |
Properties
IsBus
Description: True if this port is connected to a bus.
IsSampleHit
Description: True if this port produces output or accepts input at the current simulation time step.
SampleTime
Description: Sample time of this port.
Data Type: [period offset] where period and offset are values of type double. See Specifying Sample Time for more information.
Access: RW for M-file S functions, RO for other blocks
SampleTimeIndex
Description: Sample time index of this port.
SamplingMode
Description: Sampling mode of the port. Valid values are:
Access: RW for M-file S functions, RO for other blocks
| Simulink.BlockData | Simulink.BlockPreCompInputPortData | ![]() |
© 1994-2005 The MathWorks, Inc.