networkTrafficOnOff
Download Required: To use networkTrafficOnOff,
first download the Communications Toolbox Wireless Network Simulation Library add-on.
Description
The networkTrafficOnOff object specifies the configuration parameters
to generate an On-Off application traffic pattern. The On-Off traffic model, as depicted in
the figure, consists of two states: on and off. This model generates packets with fixed
inter-arrival time during on-state. The on-state and off-state durations follow an exponential
distribution with mean OnExponentialMean and
OffExponentialMean, respectively.

You can configure the
networkTrafficOnOff object to generate a traffic pattern that is either
periodic or bursty in nature.
Creation
Description
creates a
default On-Off application traffic pattern object.cfgOnOff = networkTrafficOnOff
sets
properties using one or more name-value arguments. For example,
cfgOnOff = networkTrafficOnOff(Name=Value)GeneratePacket=true generates an application packet.