I can't use Document command to generate a Report
조회 수: 1 (최근 30일)
이전 댓글 표시
채택된 답변
Cris LaPierre
2021년 2월 15일
With the documentation example working, try using your template again. Do you still get the same error?
If so, how did you create your template? What happens if you create your template using
댓글 수: 2
Cris LaPierre
2021년 2월 15일
편집: Cris LaPierre
2021년 2월 15일
I just worked through the example in the video you shared, and it worked fine for me. Perhaps you just needed to restart MATLAB?
추가 답변 (1개)
Rahul Singhal
2021년 2월 15일
The issue in the non-working script is that it has a typo in the package import statement, which is the reason it is not able to recognize the Document class.
Change:
import mireportgen.dom.*;
to
import mlreportgen.dom.*;
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!