- Add Stateflow annotations near the state to document the enum mapping. These annotations will appear in the Web View and make it easy to visually communicate enum values.
- Generate a custom HTML report using Simulink Report Generator (slreportgen) that lists all states and their corresponding enum values in a table. You can also link this report from the Web View for easy access.
- https://www.mathworks.com/help/releases/R2024b/stateflow/api/stateflow.annotation.html
- https://www.mathworks.com/help/releases/R2024b/rptgenext/ug/report-generation-for-simulink-and-stateflow-elements.html
- https://www.mathworks.com/help/releases/R2024b/rptgenext/getting-started-with-simulink-report-generator.html