You can create programs to generate HTML, PDF, or Microsoft® Word reports that document Simulink models and Stateflow charts. Create the report programs by using either of these approaches:
Create a MATLAB® program that generates richly formatted reports by using the Report API and Document Object Model (DOM) API.
Create a report generation program interactively by using Report Explorer. You can use Report Explorer to generate reports that have simple formatting, similar to the style of a software manual. For reports with more complex formatting, use the Report API and DOM API.