Files
matlab-python/ATD/template_cover.m

19 lines
388 B
Matlab
Executable File

function template_cover(rpt)
%% Intestazione e piè di pagina
import mlreportgen.dom.*
import mlreportgen.report.*
% If compiling, make the DOM compilable
makeDOMCompilable()
% Construct the header
header = PDFPageHeader();
footer = PDFPageFooter();
wm = Watermark('sfondo.png');
% %Adjust the space for the header and top page margin
rpt.Layout.Watermark = wm;
end