Métricas de modelo
Nota
Metrics Dashboard se eliminará en una versión futura.
Si actualmente solo utiliza Metrics Dashboard para analizar el tamaño, la arquitectura y la complejidad de su modelo, puede utilizar Model Maintainability Dashboard en su lugar. Para obtener más información, consulte Migrating from Metrics Dashboard to Model Maintainability Dashboard.
Puede utilizar métricas de modelo para comprobar que su modelo y código cumplan con los requisitos de tamaño, complejidad y legibilidad. Utilice la API de métricas de modelo para crear métricas de modelo personalizadas, calcular resultados y exportar datos de métricas. Utilice Metrics Dashboard para visualizar los datos de métricas y el estado de cumplimiento de su modelo. Para comenzar, consulte Collect and Explore Metric Data by Using Metrics Dashboard.
Clases
Funciones
Temas
Migrar a Model Maintainability Dashboard
- Migrating from Metrics Dashboard to Model Maintainability Dashboard
Use the Model Maintainability Dashboard to analyze model size, architecture, and complexity.
Explorar datos de métricas
- Collect and Explore Metric Data by Using Metrics Dashboard
Collect and view metric data for quality assessment. - Collect Model Metrics Programmatically
Use the model metric API to programmatically collect metrics for a model, such as subsystem and block counts. - Model Metrics
Model metrics provided by MathWorks® that return metric data on your model for size, complexity, readability, and compliance to standards and guidelines. - Model Metric Data Aggregation
Options for defining model metric data aggregation and returning aggregated model metric results. - Identify Modeling Clones with the Metrics Dashboard
You can use the Metrics Dashboard tool to enable subsystem reuse by identifying exact graphical clones across a model hierarchy. - Collect Model Metrics Using the Model Advisor
Assess model size, complexity, and readability, using the Model Advisor to run model metric checks. - Collect Compliance Data and Explore Results in the Model Advisor
This example shows how to collect model metric data by using the Metrics Dashboard and explore detailed compliance results and, fix compliance issues by using the Model Advisor. - Collect Metric Data Programmatically and View Data Through the Metrics Dashboard
This example shows how to use the model metrics API to collect model metric data for your model, and then explore the results by using the Metrics Dashboard. - Fix Metric Threshold Violations in a Continuous Integration System Workflow
Use a continuous integration workflow to investigate whether your model violates metric threshold values. - Compare Model Complexity and Code Complexity Metrics
Assess the complexity of your system in model-based design.
Personalizar funcionalidades de Metrics Dashboard
- Rearrange and Remove Widgets in Metrics Dashboard
Rearrange and remove widgets in the default Metrics Dashboard layout. - Modify, Remove, and Add Metric Thresholds in Metrics Dashboard
Customize metric thresholds for the Metrics Dashboard. - Change Model Advisor Checks in Metrics Dashboard
Create custom Model Advisor metrics and display the results in the Metrics Dashboard. - Create a Custom Model Metric for Nonvirtual Block Count
Create a new model metric by using theslmetric.metric.createNewMetricClass
function and defining the metric algorithm. - Create Layout with Custom Metric
Create a new Metrics Dashboard layout and add custom widgets. - Customize Metrics Dashboard Layout and Functionality
Configure compliance metrics, add metric thresholds, and customize Metrics Dashboard layout.