%% Generate On-Off Application Traffic Pattern Using On State Mean Value
% Create an On-Off application traffic pattern object, specifying the exponentially distributed mean value of the On state.

cfgOnOff = networkTrafficOnOff('OnExponentialMean',5);

% Generate an On-Off application traffic pattern.

[dt,packetSize] = generate(cfgOnOff);

% Copyright 2020 The MathWorks, Inc.