交互式模型编辑
使用模块和信号线创建模块图模型
学习相关基础知识,以帮助您在 Simulink® 编辑环境中构建模型并高效地工作。
以交互方式构建和编辑模型介绍了完整的建模过程,从如何启动软件,到如何构建模块图,以及如何仿真和查看结果。掌握这些技巧、窍门和快捷方法可以加快建模速度。
工具
Simulink 入门之旅 | Simulink 许可证附带的自定进度的交互式教程 |
Simulink 基础 | Self-paced, interactive course available as part of Online Training Suite subscription or for individual purchase |
Simulink 编辑器 | Create models and set model properties |
库浏览器 | Find and add blocks to model |
属性检查器 | Edit parameters and properties for any Simulink model element |
模型数据编辑器 | Inspect and edit data items (signals, parameters, and states) in a table that you can sort, group, and filter |
模型资源管理器 | View, modify, and add elements of Simulink models, Stateflow charts, and workspace variables |
查找器 | Find and optionally replace values in Simulink models, libraries, and subsystems |
主题
创建和编辑模型
- 以交互方式构建和编辑模型
使用 Simulink 编辑器构建模型,并学习各种编辑技巧。
- 步骤 1: 添加模块和设置参数
- 步骤 2: Extend the Model and Create Subsystems
- 步骤 3: 更新图和运行仿真
- 步骤 4: Refine the Model
- 步骤 5: 保存模型
- Simulink 建模的键盘快捷方式和鼠标操作
使用键盘和鼠标操作与 Simulink 编辑器交互。 - 格式化模型
翻转和旋转模块,更改字体,使用颜色、框和标签区域,以及隐藏和显示模块名称。 - 用视图标签对模型的各个部分加书签
为模型视图添加书签,便于以后快速转到该模型部分。 - 使用说明和注释描述模型
为了帮助其他人理解模型,可以添加视觉元素,例如描述性文本、图像或执行某种操作(如打开链接)的按钮。
管理文件
- Create Template from Model
Create a template to reuse customized settings in new models, including configuration settings, blocks, and visual presentation. - 管理模型版本并指定模型属性
查看和编辑模型版本信息、历史记录、回调函数和模型说明。 - 从模型创建工程
创建一个工程以组织您的模型和任何依存文件。Simulink 对您的模型运行依存关系分析,以识别必需的文件和包含所有依存关系的工程根位置。
共享模型
- Collaborate by Adding Comments to Blocks
Add, respond to, and resolve comments associated with blocks. - 打印模型图
您可以使用许项对打印作业进行自定义,通过交互方式或编程方式打印模型图。 - Create Print Frames for Printed Pages
Add borders that contain information about the block diagram to a printed model. - 打印模型报告
打印一个描述模型的结构和内容的 HTML 文档。