- You can use "ModelAdvisor.run()" for generating report.
- For the Windows operating system, the supported formats are 'pdf', 'html', and 'word'. For UNIX like operating systems, the only supported format is 'html'.
- For generating report in "pdf" format in Windows, use Name-value argument "ReportFormat" as "pdf" as shown below.
how to convert generated model advisor check report which is in html file into PDF format using m script? I am using MATLAB 2020a version
4 次查看(过去 30 天)
显示 更早的评论
I did model advisor checks and generated reports. Generated reports are in html format by default. I need to convert html file into PDF.
0 个评论
回答(1 个)
Vishesh
2022-11-28
ModelAdvisor.run(model, checkIDs,'ReportFormat', 'docx', 'ReportPath', pwd, 'ReportName', 'myReport');
3 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Run Model Advisor Checks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!