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.

Save Model Analysis Time

You can save analysis time by consistently running the same set of checks on your model by using the Model Advisor dashboard. When you use the dashboard, the Model Advisor does not reload the checks before executing them, saving analysis time.

  1. Open your model. For example, open the Model Advisor model, sldemo_mdladv.

  2. Open the Model Advisor dashboard.

    1. From the Simulink® Editor, select Analysis > Model Advisor > Model Advisor Dashboard .

      Alternatively, from the Simulink Editor toolbar drop-down list, select Model Advisor Dashboard.

    2. In the System Selector window, select the model or system that you want to review. For example, sldemo_mdladv. Click OK.

  3. Optionally, to select or view checks to run on your model, click the Switch to standard view toggle () button.

    1. In the Model Advisor window, open the By Product folder and select checks:

      Identify unconnected lines, input ports, and output ports
      Check root model Inport block specifications

      If the By Product folder is not displayed in the Model Advisor window, select Show By Product Folder in the Settings > Preferences dialog box.

    2. Return to the Model Advisor dashboard by clicking the Switch to Model Advisor Dashboard toggle () button.

  4. On the Model Advisor dashboard, click Run checks ().

  5. To view highlighted results, click the Enable Highlighting toggle ().

    • In the model window, the blocks causing the Identify unconnected lines, input ports, and output ports check warning are highlighted in yellow.

    • The Model Advisor Highlighting information window opens with a link to the Model Advisor window. In the Model Advisor window, you can find more information about the check results and how to fix the warning condition.

  6. After reviewing the check results, you can choose to fix warnings or failures. For example, to fix the Identify unconnected lines, input ports, and output ports check warning:

    1. Connect model blocks Gain2 and Out4.

    2. On the Model Advisor dashboard, click Run checks () to rerun the checks.

    The Identify unconnected lines, input ports, and output ports check passes.

Related Topics