Programmatically using Report Generator to generate a Word report using templates generates an error: "Cannot find template"
이전 댓글 표시
I am reading the MATLAB Report Generator documentation, and I am having some trouble understanding the "Automatic Numbering in Word Reports" section:
I copied the code into my MATLAB, but when I try to run it, I get the following error message:
ERROR: Error using mlreportgen.dom.DocumentPart/moveToNextHole
Cannot find template: MyReportTemplate.dotx
Error in Untitled2 (line 17)
moveToNextHole(chapterPart);
I think I need to have a template file called "MyReportTemplate.dotx" in my current path, but I don't know where to find it or how to create it myself.
I have tried all the other examples on this page, but this is the only one that gave me an error.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Templates에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!