You can create and generate reports :
Interactively, using the Report Explorer
Programmatically, using the DOM (Document Object Model) API
You can use the Report Explorer graphical interface to create reports without having to write code.
Using the programmatic approach, you can integrate report generation into analysis and testing applications. For more information, see Programmatic Report Creation.
Open the Report Explorer. In the menu bar on the Simulink® model window, click Tools > Report Generator.
Create a new report setup file.
For information about report setup files, see Report Setup.
Add existing Simulink or Stateflow® components to the report setup file, or create your own custom components.
For information on using components, see Working with Components.
Choose a Microsoft® Word, HTML, or PDF template or a Report Explorer stylesheet to apply styles the report setup file.
Generate the report.
The following figure illustrates a typical Simulink Report Generator™ workflow.