Simulink.BlockPortData
Describe block input or output port
Description
This class defines properties that are common to objects that provide run-time 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. |
Properties
IsBus
True if this port is connected to a bus.
Boolean
RO
IsSampleHit
True if this port produces output or accepts input at the current simulation time step.
Boolean
RO
SampleTime
Sample time of this port.
[period offset]
where period
and offset
are
values of type double
. See Specify Sample Time for
more information.
RW
for MATLAB® S
functions, RO
for other blocks
SampleTimeIndex
Sample time index of this port.
integer
RO
Version History
Introduced before R2006a