Code covered by the BSD License  

Highlights from
Aggregated Teletraffic Models with Long-range Dependence

from Aggregated Teletraffic Models with Long-range Dependence by Ingemar Kaj Raimundas Gaigalas
Simulates aggregated teletraffic: infinite source Poisson model, on-off model, sum of renewal proc

countpath(cdir)
function countpath(cdir)

% COUNTPATH add the counting processes and random number
% directories to the path. 
% Alternatively, you may add to your startup.m:
%  addpath('path_to_stsim\counting', ...
%          'path_to_stsim\ranvar')
%  
%  countpath([cdir])
%
% Input: 
%      cdir - optional; path to the main directory with the
%         files. Default - current directory.

% Authors: R.Gaigalas, I.Kaj
% v1.0 17-Dec-05

  if nargin<1
    cdir = pwd;
  end

 addpath(cdir, regexprep(cdir, 'counting', 'ranvar'));
 

Contact us at files@mathworks.com