generate
Class: wnet.Traffic
Namespace: wnet
Syntax
Description
returns the time remaining until the next packet generation for the specified configuration
object dt = generate(trafficConfiguration)trafficConfiguration.
specifies the time elapsed dt = generate(trafficConfiguration,elapsedTime)elapsedTime, since the previous call of this
method.
[
returns the size of the current packet dt,packetSize] = generate(___)packetSize using any combination
of input arguments from previous syntaxes.
[
returns the generated application traffic packet.dt,packetSize,packet] = generate(___)
Input Arguments
Output Arguments
Version History
Introduced in R2026a