No BSD License  

Highlights from
MatPlanWDM v0.5

image thumbnail
from MatPlanWDM v0.5 by Pablo Pavon MariƱo
Educational network planning tool for the RWA problem in WDM networks (MILP and heuristic based)

GUIRunTextReport.m
currentClock=clock;	

%Text report string configuration
textReport1={
    ['##################################################'],
    ['Simulation date: ',num2str(ceil(currentClock(3))),'/',num2str(ceil(currentClock(2))),'/',num2str(ceil(currentClock(1))),' - ',num2str(ceil(currentClock(4))),':',num2str(ceil(currentClock(5)))],
    ['##################################################'],     
    };

% num2str(maxSimulationTime)

textReport2={
    [' '],
    [' '],
    ['---------------------------------------------------------']
    ['INPUT DATA'],
    ['---------------------------------------------------------'],
    ['Physical Topology : ',physName],
    ['Traffic Pattern : ',trafficPatterns{trafficPattern-1}],
    ['Generator Parameters : ',generatorParameters],
    ['Method : ',heuristicAlgorithms{algorithmSelection-1}],
    ['Algorithm Parameters : ',algorithmParameters],
    ['Max. Simulation Time : ',num2str(maxSimulationTime)],
    ['Transitory Time : ',num2str(transitoryTime)],
    };

textReport=vertcat(textReport1,textReport2);

Contact us at files@mathworks.com