From 9872fe69c0d65d0c3105192fca9718a5b506bed5 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Fri, 4 Jul 2014 16:46:09 +0200 Subject: [PATCH] reporting: fix bug with end tabular/end landscape --- matlab/reports/@page/write.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/reports/@page/write.m b/matlab/reports/@page/write.m index 274cf3c2c..6ef822ae3 100644 --- a/matlab/reports/@page/write.m +++ b/matlab/reports/@page/write.m @@ -52,10 +52,10 @@ for i=1:nps o.sections{i}.write(fid, pg, i); end +fprintf(fid, '\\end{tabular}\n'); if strcmpi(o.orientation, 'landscape') fprintf(fid, '\\end{landscape}\n'); end -fprintf(fid, '\\end{tabular}\n'); fprintf(fid, '\\clearpage\n'); fprintf(fid, '%% End Page Object\n\n'); end \ No newline at end of file