How do I include annotation text from my Simulink model in the file created by the Simulink Report Generator?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 22 Mar 2021
I want to pull plain text from a Simulink model and insert it into my report as text.
Accepted Answer
MathWorks Support Team
on 16 Mar 2021
Edited: MathWorks Support Team
on 22 Mar 2021
You can pull a Simulink model's "Annotation" data into a Simulink Report Generator report either 1) interactively in the Report Generator app or 2) programmatically in a MATLAB script:
1) App workflow
Gather Annotation data in the Report Generator app using an "Annotation Loop". Refer to the documentation for more information:
2) Command line API/script workflow
You can use the "AnnotationFinder" class in a MATLAB script to generate a report with the Report Generator API. Refer to the documentation for more information:
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!