I get an error when I try to generate a report using rptgen and mcc. My code and the error are copied below. I have scanned all available documentation and older questions but have not been able to find a solution. Please help.
This code runs fine through Matlab:
function createReport()if ismcc || isdeployed % Make sure DOM is compilable
makeDOMCompilable();endimport mlreportgen.dom.*import mlreportgen.report.*filename = sprintf('Buffer Job %d', 123);rpt = Report(filename,'pdf');p = Paragraph('Buffer Static Test Report');add(rpt,p);close(rpt);end
This is the error I get when I run the executable:
Best Answer