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 = ']); ...@@ -54,11 +54,6 @@ disp([name '.figname = ']);
disp(' '); disp(' ');
disp([' ''' o.figname '''']); disp([' ''' o.figname '''']);
disp(' ');
disp([name '.config = ']);
disp(' ');
disp([' ''' o.config '''']);
disp(' '); disp(' ');
disp([name '.legend = ']); disp([name '.legend = ']);
disp(' '); disp(' ');
......
...@@ -33,8 +33,6 @@ function o = graph(varargin) ...@@ -33,8 +33,6 @@ function o = graph(varargin)
o = struct; o = struct;
o.config = '';
o.seriesElements = seriesElements(); o.seriesElements = seriesElements();
o.title = ''; o.title = '';
...@@ -90,7 +88,6 @@ end ...@@ -90,7 +88,6 @@ end
% Check options provided by user % Check options provided by user
assert(ischar(o.title), '@graph.graph: title must be a string'); 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.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.xlabel), '@graph.graph: xlabel file must be a string');
assert(ischar(o.ylabel), '@graph.graph: ylabel 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'); assert(ischar(o.figname), '@graph.graph: figname must be a string');
......
...@@ -49,11 +49,6 @@ disp([name '.filename = ']); ...@@ -49,11 +49,6 @@ disp([name '.filename = ']);
disp(' '); disp(' ');
disp([' ''' o.filename '''']); disp([' ''' o.filename '''']);
disp(' ')
disp([name '.config = ']);
disp(' ');
disp([' ''' o.config '''']);
disp(' ') disp(' ')
disp([name '.numPages() = ']); disp([name '.numPages() = ']);
disp(' '); disp(' ');
......
...@@ -39,7 +39,6 @@ o.margin = 2.5; ...@@ -39,7 +39,6 @@ o.margin = 2.5;
o.marginUnit = 'cm'; o.marginUnit = 'cm';
o.pages = pages(); o.pages = pages();
o.filename = 'report.tex'; o.filename = 'report.tex';
o.config = '';
o.showDate = true; o.showDate = true;
o.compiler = ''; o.compiler = '';
...@@ -71,7 +70,6 @@ end ...@@ -71,7 +70,6 @@ end
% Check options provided by user % Check options provided by user
assert(ischar(o.title), '@report.report: title must be a string'); 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.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(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(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.'); assert(isfloat(o.margin) && o.margin > 0, '@report.report: margin must be a float > 0.');
......
...@@ -37,7 +37,6 @@ o.title = ''; ...@@ -37,7 +37,6 @@ o.title = '';
o.titleSize = 'large'; o.titleSize = 'large';
o.footnote = ''; o.footnote = '';
o.config = '';
o.showHlines = false; o.showHlines = false;
o.showVlines = false; o.showVlines = false;
o.vlineAfter = ''; o.vlineAfter = '';
...@@ -75,7 +74,6 @@ end ...@@ -75,7 +74,6 @@ end
% Check options provided by user % Check options provided by user
assert(ischar(o.title), '@table.table: title must be a string'); 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.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.showHlines), '@table.table: showHlines must be true or false');
assert(islogical(o.showVlines), '@table.table: showVlines 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'); 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