Commit 20e5a4d4 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: remove config option

parent 59204574
......@@ -54,11 +54,6 @@ disp([name '.figname = ']);
disp(' ');
disp([' ''' o.figname '''']);
disp(' ');
disp([name '.config = ']);
disp(' ');
disp([' ''' o.config '''']);
disp(' ');
disp([name '.legend = ']);
disp(' ');
......
......@@ -33,8 +33,6 @@ function o = graph(varargin)
o = struct;
o.config = '';
o.seriesElements = seriesElements();
o.title = '';
......@@ -90,7 +88,6 @@ end
% Check options provided by user
assert(ischar(o.title), '@graph.graph: title must be a string');
assert(ischar(o.footnote), '@graph.graph: footnote must be a string');
assert(ischar(o.config), '@graph.graph: config file must be a string');
assert(ischar(o.xlabel), '@graph.graph: xlabel file must be a string');
assert(ischar(o.ylabel), '@graph.graph: ylabel file must be a string');
assert(ischar(o.figname), '@graph.graph: figname must be a string');
......
......@@ -49,11 +49,6 @@ disp([name '.filename = ']);
disp(' ');
disp([' ''' o.filename '''']);
disp(' ')
disp([name '.config = ']);
disp(' ');
disp([' ''' o.config '''']);
disp(' ')
disp([name '.numPages() = ']);
disp(' ');
......
......@@ -39,7 +39,6 @@ o.margin = 2.5;
o.marginUnit = 'cm';
o.pages = pages();
o.filename = 'report.tex';
o.config = '';
o.showDate = true;
o.compiler = '';
......@@ -71,7 +70,6 @@ end
% Check options provided by user
assert(ischar(o.title), '@report.report: title must be a string');
assert(ischar(o.filename), '@report.report: filename must be a string');
assert(ischar(o.config), '@report.report: config file must be a string');
assert(ischar(o.compiler), '@report.report: compiler file must be a string');
assert(islogical(o.showDate), '@report.report: showDate must be either true or false');
assert(isfloat(o.margin) && o.margin > 0, '@report.report: margin must be a float > 0.');
......
......@@ -37,7 +37,6 @@ o.title = '';
o.titleSize = 'large';
o.footnote = '';
o.config = '';
o.showHlines = false;
o.showVlines = false;
o.vlineAfter = '';
......@@ -75,7 +74,6 @@ end
% Check options provided by user
assert(ischar(o.title), '@table.table: title must be a string');
assert(ischar(o.footnote), '@table.table: footnote must be a string');
assert(ischar(o.config), '@table.table: config file must be a string');
assert(islogical(o.showHlines), '@table.table: showHlines must be true or false');
assert(islogical(o.showVlines), '@table.table: showVlines must be true or false');
assert(isint(o.precision), '@table.table: precision must be an int');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment