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 use the On-Off application traffic pattern in system-level simulations to model the real-world data traffic.
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.