Simulink Report Generator
You can control the Simulink Report Generator through the app or from the MATLAB command line. You select what you want to highlight in your Simulink and Stateflow models using a setup file—a template that lists in outline form all the components that will be included in your report. Each component specifies an action to be taken in the report, such as capture model structure, parameters, and simulation results.
The Component Creator makes it easy to write new components or update existing custom components. The component API is fully documented, giving you complete control over run-time and edit-time behavior.