This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Collect Model Metrics Using the Model Advisor

To help you assess your model for size, complexity, and readability, you can run model metrics in the Model Advisor By Task > Model Metrics subfolder.

  1. Open the sldemo_fuelsys model.

  2. From the Simulink Editor, select Analysis > Model Advisor > Model Advisor. A System Selector — Model Advisor dialog box opens. Click OK.

  3. In the left pane of the Model Advisor, navigate to By Task > Model Metrics. Select the model metrics to run on your model.

  4. Click Run Selected Checks.

  5. After the Model Advisor runs an analysis, in the left pane of the Model Advisor window, select a model metric to explore the result. Select the metric Simulink block metric. A summary table provides the number of blocks at the root model level and subsystem level.

    Alternatively, you can view the analysis results in the Model Advisor report.

After reviewing the metric results, you can update your model to meet size, complexity, and readability recommendations.

Related Topics