diff --git a/matlab/reporting/@table/display.m b/matlab/reporting/@table/display.m index 315098f52da392d0157f8af82e2326136ed66bec..33ce40b8e97aeb41be5e44730aba337a55334d92 100644 --- a/matlab/reporting/@table/display.m +++ b/matlab/reporting/@table/display.m @@ -40,9 +40,9 @@ disp(' '); disp([' ''' o.footnote '''']); disp(' '); -disp([name '.hlines = ']); +disp([name '.showHlines = ']); disp(' '); -disp(o.hlines); +disp(o.showHlines); disp(' '); disp([name '.showVlines = ']); diff --git a/matlab/reporting/@table/table.m b/matlab/reporting/@table/table.m index b90d33728fb3004bd7d8cf00f6aac753c5564248..f24a75c8883e19e9a3a8516955de0d793060f7e6 100644 --- a/matlab/reporting/@table/table.m +++ b/matlab/reporting/@table/table.m @@ -38,7 +38,7 @@ o.titleSize = 'large'; o.footnote = ''; o.config = ''; -o.hlines = false; +o.showHlines = false; o.showVlines = false; o.vlineAfter = ''; @@ -78,7 +78,7 @@ end 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.hlines), '@table.table: hlines 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(isint(o.precision), '@table.table: precision must be an int'); assert(isempty(o.range) || (isa(o.range, 'dynDates') && o.range.ndat >= 2), ... diff --git a/matlab/reporting/@table/write.m b/matlab/reporting/@table/write.m index 7048324561fd5203a7db0b5783dae06ed58d9c1b..e203e20f2d78056041e61d664cf9b3752a51b9c2 100644 --- a/matlab/reporting/@table/write.m +++ b/matlab/reporting/@table/write.m @@ -125,7 +125,7 @@ fprintf(fid, '%%\n'); ne = o.seriesElements.numElements(); for i=1:ne o.seriesElements(i).write(fid, dates, o.precision); - if o.hlines + if o.showHlines fprintf(fid, '\\hline\n'); end end