MATLAB: Stateflow – save coverage after closing model

coveragecumulative coveragestateflow

Can I somehow save coverage status of chart in Stateflow so I can retrieve it next time I open up the model in Matlab? I know the coverage representation (showed by green and red coloring) is saved across multiple simulation runs without having closed the model. But everything gets erased once I close and re-open the model.

Best Answer

You can use the 'cvmodelview' command with the saved coverage results (data) to retrieve the coverage status when you open the model again.
More information regarding this is available in the following articles: