How to save summaryReport generated by Model Advisor programmatically ?
조회 수: 1 (최근 30일)
이전 댓글 표시
- I would like to save(programmatically) the summaryReport generated by Model Advisor after Model Checks
- Would be nice if two such summary Report can be clubbed together. Since after the new check is run with different configuration the old link for the summary report says 'Link out of date'
댓글 수: 0
채택된 답변
Smit
2023년 2월 10일
Hi,
I understand you want to know if there is a programmatic way to save summary report generated by Model Advisor, and if there is a way to access previously generated summary reports.
You can run the Model Advisor with the “ModelAdvisor.run” function. Model Advisor saves the report in a folder called “slprj”.
An example of “ModelAdvisor.run” is as follows: -
results = ModelAdvisor.run(["vdp"], ["mathworks.design.OptimizationSettings"]);
% View saved report
ModelAdvisor.summaryReport(results)
To avoid overwriting previously generated reports, one way could be to save new reports in another location using the “ReportPath” property of the “ModelAdvisor.run” function.
An example of this is as follows
results = ModelAdvisor.run(["vdp"], ...
["mathworks.design.OptimizationSettings"], "ReportPath", "destination/path");
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Check Model Compliance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!