Borrar filtros
Borrar filtros

Are there any tools for generating developer documentation of Simulink model

18 visualizaciones (últimos 30 días)
Hi,
I am deveoping a project in Simulink and also use Stateflow. I want to have an auto generated documentation either from the simulink models or from the generated code using "code generation toolbox". I have verified some sources like sphinx for matlab, but I am confused as it is only applicable for .m files. My code generated would be in c++.
Can anyone suggest something? (I am already thinking of tools like doxygen and sphinx. Please exclude report generator)
Thanks in advance.

Respuesta aceptada

Karanjot
Karanjot el 6 de Feb. de 2024
Editada: Karanjot el 8 de Feb. de 2024
Hi Harish,
To generate developer documentation of a Simulink model. I'd recommend Simulink Report Generator to design and automatically generate reports. Are you encountering any issues while using that?
I'm also suggesting alternatives as inquired in your question:
  1. The Simulink Design Documenter on File Exchange provides tool support for semi-automated generation of Software Design Description documents for embedded systems developed using model-based design with Simulink. The purpose of the Simulink Design Documenter is to highly automate the production of useful Software Design Description documents for Simulink models, therefore significantly reducing the documentation effort.
  2. Using Doxygen for generated C++ code is also a good idea. Make sure that your Simulink model is configured to include comments in the generated code & Use the Simulink and Stateflow editors to add descriptions to your model elements. You may achieve this functionality by using Code Generation Template files, or CGTs, to include doxygen-compatible file and function comment blocks in the generated code. In CGT's, comment blocks are specified using open and close tags. You can add a "style" attribute to these tags to apply doxygen formatting to the resulting comments. Please refer to the following documentation page for additional details on the different tags and attributes available: https://www.mathworks.com/help//ecoder/ug/generate-custom-file-and-function-banners.html#br86s2r
For more information on this, You may refer to:

Más respuestas (0)

Categorías

Más información sobre Simulink Report Generator en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by