You can use the Metrics Dashboard and metric APIs to obtain
          compliance and issues metric data on your Model Advisor configuration. To set up your
          Model Advisor configuration, see Use Model Advisor Configuration Editor to Customize Model Advisor. You can also use an existing check group such as
          the MISRA checks. After you have set up your Model Advisor configuration, follow these
          steps to specify the check groups for which you want to obtain compliance and issues
          metric data:
      Open the model vdp by
            entering:
Open the default configuration:
Specify a metric family ID that you associate with those check groups:
Create a cell array consisting of the Check Group IDs that correspond to the check
            groups. Obtain a Check Group ID by opening up the Model Advisor Configuration Editor and
            selecting the folder that contains the group of checks. The folder contains a
              Check Group ID parameter.
The previous cell array specifies MAB, High-Integrity, and MISRA check groups. The
            values maab and hisl_do178 correspond to a subset
            of MAB and High-Integrity System checks. To include all
            checks, specify the value for the Check Group ID parameter from the
            Model Advisor Configuration Editor.
To set up the configuration, pass the values cell array into the
              setMetricFamilyParameterValues method.
Point the High Integrity Compliance and High
              Integrity Check Issues widgets to the MISRA check group. To begin, open the
            default configuration for the Metrics Dashboard layout.
Obtain the slmetric.dashboard.Layout object from the
              slmetric.dashboard.Configuration object
            conf.
Obtain the widget objects that are in the layout object.
Obtain the compliance group from the layout. This group contains two containers. The
            first container contains the High Integrity and MAB Compliance and Check Issues widgets.
            Remove the High Integrity Compliance widget.
Add a custom widget for visualizing MISRA check issues metrics to the
              complianceContainers
            slmetric.dashboard.Container object.
Save the configuration objects. These commands serialize the API information to XML
            files.
Set the active configurations.
Open the Metrics Dashboard for the model vdp.
Click the All Metrics button to run
            all metrics.