模型设计度量
收集模型和其他设计工件的大小、架构和复杂度的度量
使用模型设计度量来评估设计中模型组件的状态和质量。使用模型维护仪表板来监控设计工件的大小、架构和复杂度。该仪表板跟踪工程文件之间的依存关系,用以标识 MATLAB® 函数、Simulink® 模型和 Stateflow® 图这类工件中的过时度量结果。使用度量结果跟踪设计的复杂度。低复杂度的设计更易于阅读、维护和测试。您还可以使用度量 API 以编程方式收集度量结果并将结果保存在报告中。
App
模型设计仪表板 | Collect model metric data and assess quality of model in project (自 R2022b 起) |
类
函数
主题
模型设计
- Monitor the Complexity of Your Design Using the Model Maintainability Dashboard
Assess the size, complexity, and architecture of your design. - Assess Model Size and Complexity for ISO 26262
Use the Model Maintainability Dashboard to monitor the size and complexity of models in accordance with the ISO 26262 standard. - Collect Model Maintainability Metrics Programmatically
Use a script to assess the maintainability of your model design artifacts. - Model Maintainability Metrics
Use the model maintainability metrics to return metric data on the size, complexity, and architecture of your model.
工件可追溯性
- Create Project to Use Model Design and Model Testing Dashboards
Create a project for your model and use the dashboards to analyze the files in your project. - Manage Project Artifacts for Analysis in Dashboard
Set up and manage a project that uses the dashboards. - Categorize Models in Hierarchy as Components or Units
Label models by their testing interface to more easily track requirements-based testing activities for a model hierarchy. - Explore Traceability Information for Units and Components
View traceability relationships for project artifacts like models, libraries, data dictionaries, requirements, tests, and test results. - Monitor Artifact Traceability and Detect Outdated Results with Digital Thread
Monitor the relationships between artifacts and identify outdated results. - View Artifact Issues in Project
Identify and fix the artifact issues that can lead to incorrect metric results. - Resolve Missing Artifacts, Links, and Results
Troubleshoot artifact tracing and analysis in the dashboards.