%designMetadataTextReport;
function textReport = designMetadataTextReport(metadata)
% metadata = struct('title', ['NSFnet'], 'author', [''], 'date', [''], 'multihourPlanning', ['false'],...
% 'planningAlgorithmFile', [''], 'planningAlgorithmParametersString', [''], 'flowGeneratorFile', [''],...
% 'flowGeneratorParametersString', [''], 'trafficMatrixFile', [''], 'description', ['']);
% textReport1={
% ['##### METADATA REPORT #####'],...
% ['Title: ', metadata.title],...
% ['Author: ', metadata.author],...
% ['Date: ', metadata.date],...
% ['Multihour Planning: ', metadata.multihourPlanning],...
% ['Planning Algorithm File: ', metadata.planningAlgorithmFile],...
% ['Planning Algorithm Parameters String: ', metadata.planningAlgorithmParametersString],...
% ['Traffic Matrix File: ', metadata.trafficMatrixFile]};
% % size(textReport1)
% if ~isempty(metadata.flowGeneratorFile)
% textReport2={
% ['Flow Generator File: ', metadata.flowGeneratorFile],...
% ['Flow Generator Parameters String: ', metadata.flowGeneratorParametersString]};
% textReport1=vertcat(textReport1, textReport2);
% end
%
% textReport3={ ['Description: ', metadata.description] };
% % size(textReport3)
% textReport=vertcat(textReport1, textReport3);
textReport={
['##### METADATA REPORT #####']; ...
['Title: ', metadata.title ]; ...
['Author: ', metadata.author]; ...
['Date: ', metadata.date];...
['Multihour Planning: ', metadata.multihourPlanning];...
['Planning Algorithm File: ', metadata.planningAlgorithmFile];...
['Planning Algorithm Parameters String: ', metadata.planningAlgorithmParametersString];...
['Traffic Matrix File: ', metadata.trafficMatrixFile];...
['Flow Generator File: ', metadata.flowGeneratorFile];...
['Flow Generator Parameters String: ', metadata.flowGeneratorParametersString];...
['Description: ', metadata.description];...
[''];...
['']...
};