%% Generate On-Off Application Traffic Pattern
% Create a default On-Off application traffic pattern object.

cfgOnOff = networkTrafficOnOff;

% Generate an On-Off application traffic pattern.

[dt,packetSize] = generate(cfgOnOff);

% Copyright 2020 The MathWorks, Inc.