Learn more about inserting descriptions of Simulink data objects into generated code as comments and adding custom comments to generated code.
Next Steps
At this point, you may be wondering, what if my project includes multiple Simulink models? Are there ways to scale up to an entire project? Projects and products like Simulink Report Generator™ and Requirements Toolbox™ provide natural extensions to the techniques discussed in this article.
With Simulink Report Generator you can design and automatically generate reports from your models in common formats such as PDF, Microsoft® Word®, Microsoft PowerPoint®, and HTML.
Requirements Toolbox lets you create rich text requirements and link them to designs, code, and tests. You can check the implementation and verification status of your requirements, enabling you to assess project completeness.
Projects can help you organize your projects and promote efficient team work as well as individual productivity. You can manage all your project files in one place, view and label files for peer review workflows, and track and share your projects with external source control tools such as Subversion® or Git™.