Include notes from library blocks in report generator

2 ビュー (過去 30 日間)
Matteo Pellegri
Matteo Pellegri 2023 年 9 月 11 日
コメント済み: Matteo Pellegri 2023 年 9 月 22 日
I am currently using this approach to generate a report of a simulink model programmatically.
https://uk.mathworks.com/help/rptgenext/ug/report-systems-hierarchically.html
Unfortunately the notes included in library blocks are not reported. The approach works if I generate a report for the library itself but not of a larger model including the library blocks.
Is there a way to include the notes of the library block in the report?
Thanks!

採用された回答

Garmit Pant
Garmit Pant 2023 年 9 月 22 日
Hello Matteo,
I understand that you are trying to include notes inside the library blocks in the Simulink model report that you are creating.
The notes inside the library blocks can be included in the model report by passing the path to the library block to the ‘slreportgen.report.Notes reporter.
Please follow the code snippet given in the following MATLAB Answers thread to find the method to do so:
I hope this helps!
Best Regards
Garmit
  1 件のコメント
Matteo Pellegri
Matteo Pellegri 2023 年 9 月 22 日
Hi Garmit, I found that post as well and did the trick!
Thanks!
Matteo

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Report Generator についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by