generate
Generate next On-Off application traffic packet
Syntax
Description
[
generates the next On-Off application traffic packet based on the specified configuration
object, dt
,packetSize
] = generate(cfgOnOff
)cfgOnOff
. The object function returns the time remaining to
generate the next packet, dt
, and the size of the current packet,
packetSize
.
[
specifies the time elapsed, dt
,packetSize
] = generate(cfgOnOff
,elapsedTime
)elapsedTime
, since the previous call of
this object function.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2022a