基于组件的建模
了解何时使用不同类型的模型组件
基于组件的建模可实现高效和稳健的系统开发,促进协作,并改进验证工作流。大型系统通常组合使用多个 Simulink® 模型组件。
有关何时使用不同组件化方法的概述,请参阅 Simulink 中基于组件的建模(4 分 28 秒)。
有关定义模型组件的帮助,请参阅基于组件的建模规范。
有关显示自下而上模型演化的示例,请参阅Basic Modeling Workflow。
模块
Subsystem | 对各模块进行分组以创建模型层次结构 |
Model | 引用另一个模型来创建模型层次结构 |
Variant Subsystem, Variant Model | Template subsystem containing Subsystem, Model, or Subsystem Reference blocks as variant choices |
工具
主题
定义模型组件
- 基于组件的建模规范
考虑大型模型和多用户开发团队的组件化。
开发模型组件
- Basic Modeling Workflow
Model a simple mechanical system, then scale the model for a collaborative component-based modeling project.
- 步骤 1: 对系统算法进行建模
- 步骤 2: Create Model Components
- 步骤 3: Manage Signal Lines
- 步骤 4: Manage Model Data
- 步骤 5: Reuse Model Components from Files
- 步骤 6: Create Interchangeable Variations of Model Components
- 步骤 7: Set Up a File Management System
与模型组件交互
- Configuration Management
Projects can help you work with configuration management tools for team collaboration. - 预览模型组件的内容
在模块的表面显示模块内容的表示形式。 - Navigate Model Hierarchies
Navigate model hierarchy of subsystems and referenced models.