diff --git a/matlab/reporting/@report/report.m b/matlab/reporting/@report/report.m index 2f440ebbadb9d64ca65771740c9da7beff1a1044..9497ce9988a3c331a9883a61b6272baa1c3707fa 100644 --- a/matlab/reporting/@report/report.m +++ b/matlab/reporting/@report/report.m @@ -40,7 +40,7 @@ o.margin_unit = 'cm'; o.pages = pages(); o.filename = 'report.tex'; o.config = ''; -o.showdate = true; +o.showDate = true; o.compiler = ''; if nargin == 1 @@ -73,7 +73,7 @@ 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(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.'); valid_margin_unit = {'cm', 'in'}; diff --git a/matlab/reporting/@report/write.m b/matlab/reporting/@report/write.m index 2c1d9c84bda07c1a85f91e0d313fe69df34f47f8..b5969a6cbca23c3954e331933b76cb2354657fbc 100644 --- a/matlab/reporting/@report/write.m +++ b/matlab/reporting/@report/write.m @@ -54,7 +54,7 @@ else fprintf(fid, '\\usepackage{pgfplots}\n'); end -if o.showdate +if o.showDate fprintf(fid, '\\usepackage{fancyhdr, datetime}\n'); fprintf(fid, '\\newdateformat{reportdate}{\\THEDAY\\ \\shortmonthname\\ \\THEYEAR}\n'); fprintf(fid, '\\pagestyle{fancy}\n');