Main Content

ModelAdvisor.summaryReport

Open Model Advisor Command-Line Summary report

    Description

    example

    ModelAdvisor.summaryReport(Results) opens the Model Advisor Command-Line Summary report in a web browser. Results is a cell array of ModelAdvisor.SystemResult objects returned by ModelAdvisor.run.

    Examples

    collapse all

    Run a check on a model and use the Command-Line Summary report to view the results.

    Open the model vdp by entering:

    openExample('simulink_general/VanDerPolOscillatorExample')

    Use Model Advisor to run the check Check optimization settings on the model vdp.

    results = ModelAdvisor.run(["vdp"],...
        ["mathworks.design.OptimizationSettings"]);

    Open the Model Advisor Command-Line Summary report to review the results.

    ModelAdvisor.summaryReport(results)

    For more information on Model Advisor checks, see Model Advisor Checks Documentation. For details on how to find check IDs, see Find Model Advisor Check IDs.

    Input Arguments

    collapse all

    Model Advisor check results, specified as a cell array of ModelAdvisor.SystemResult objects returned by the function ModelAdvisor.run.

    Each ModelAdvisor.SystemResult object contains a CheckResultObjs property that contains an array of ModelAdvisor.CheckResult objects, one for each check run by ModelAdvisor.run.