交互式模型编辑
创建、格式化、导航和搜索 Simulink 模型
了解如何在 Simulink® 编辑环境中构建和编辑模型。发现您可以在 Simulink 中使用的提示、技巧和快捷方式。
有关 Simulink 的介绍,请尝试自定进度的交互式 Simulink 入门之旅教程和 Simulink 快速入门。有关如何运行完成的模型并查看结果的信息,请参阅仿真。
工具
Simulink 入门之旅 | 免费、自定进度的交互式 Simulink 课程 |
Simulink 基础 | 自定进度的交互式课程可作为 Online Training Suite 订阅的一部分提供,也可单独购买 |
Simulink 预设项 | Settings for Simulink Editor and model files |
库浏览器 | 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 |
模型查找器 | Search, filter, and browse examples, models, and projects |
查找器 | 在 Simulink 模型、库和子系统中查找并有选择地替换值 |
主题
键盘快捷方式
- Simulink 建模的键盘快捷方式和鼠标操作
使用键盘和鼠标操作与 Simulink 编辑器交互。
创建模型
- Open Models
Create new Simulink models and open existing models. - Save Models
Save Simulink models. - Add Blocks to Models
Use the Library Browser and quick insert menu to insert blocks. - Connect Blocks
Use signal lines and bind mode to connect blocks. - Edit Block Parameters
Set block parameter values using the Block Parameters dialog box and Property Inspector.
格式化模型
- 配置模型布局
更改模块的排列和方向。 - 将模块组合为子系统
使用子系统组织大型模型。 - 将信号或消息组合到虚拟总线中
创建总线以减少模块图中的信号线数量。 - Configure Model Element Names and Labels
Hide and display block names, label signal lines, change text font and color. - Configure Model Style Elements
Change model fonts and colors. - Customize Block Icons
Use Masks to give blocks custom covers. - Visually Organize Models Using Areas
Use areas and images to visually compartmentalize the model. - Annotate Models
Use text, hyperlinks, equations, images, and tables to label sections of a model.
导航模型
- Navigate Model Hierarchy
Navigate model hierarchy using the Explorer Bar and Model Browser. - Bookmark Your Place in Models
Use Viewmarks to save and return to views in complex models.
搜索模型、模型内容和 Simulink 编辑器操作
- Index and Search Models with Model Finder
Index, search, and browse examples, models, and projects in multiple databases. - Search Model Contents
Search for model contents such as blocks, signal lines, or parameters. - Keyword Search for Simulink Editor Actions
Use Action Search to open dialog boxes and get keyboard shortcuts for modeling actions.
管理文件
- Create Template from Model
Create a template to reuse model content and configuration. - 管理模型版本并指定模型属性
查看和编辑模型版本信息、历史记录、回调函数和模型描述。 - 从模型创建工程
创建一个工程以组织您的模型和任何依存文件。Simulink 对您的模型运行依存关系分析,以识别必需的文件和包含所有依存关系的工程根位置。
共享模型
- 使用注释描述模型
为了帮助其他人理解模型,请编写注释。 - Exchange Messages with Block Comments
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 文档。