Simulink 环境自定义
在菜单和对话框中添加或删除项目、更改显示方式和自动保存设置
在 Simulink® 环境中自定义上下文菜单、工具条、快速访问栏、快速插入菜单、库浏览器、对话框等。
工具
| Simulink 预设项 | Settings for Simulink Editor and model files |
函数
扩展点
对象
LibraryBrowser.LBStandalone | Display, hide, size, and position Simulink Library Browser |
主题
自定义上下文菜单
- Show App-Specific Options in Simulink Context Menu
Add menu options associated with app to Simulink context menu. - Customize Simulink Context Menu Using Extension Points
Use extension points to add context menu widgets. (自 R2026a 起) - Simulink Context Menu Architecture
Simulink context menus are the menus that open when you right-click something in Simulink. - Resolve Failure to Convert Context Menu Customization to Extension Point Format
Troubleshoot conversion of context menu customizations to R2026a format using theslConvertCustomContextMenusfunction. - Disable Simulink and Stateflow Toolstrip and Context Menu Actions
Disable actions of widgets in the Simulink Toolstrip and Context Menus. - 向模型编辑器菜单添加菜单项
将您自己的命令添加到 Simulink 和 Stateflow® 菜单。
自定义工具条
- Create Custom Simulink Toolstrip Tabs
Add custom tabs and actions to the Simulink Toolstrip. - Add Prepopulated Custom Tab to Simulink Toolstrip
Add prepopulated custom tab to Simulink Toolstrip and modify it. - Disable Simulink and Stateflow Toolstrip and Context Menu Actions
Disable actions of widgets in the Simulink Toolstrip and Context Menus.
其他
- Access Frequently Used Features and Commands in Simulink
Customize the quick access toolbar and favorite commands. - Improve Quick Block Insert Results
Update the database that determines what appears on the quick insert menu based on your model designs. - Customize Library Browser Appearance
Reorder, disable, or hide libraries using these techniques. You can also specify whether a library appears expanded or collapsed by default in the Library Browser. - Disable and Hide Dialog Box Controls
Disable or hide buttons, text fields, and other controls on Simulink dialog boxes.
注册自定义项
- 向 Simulink 注册自定义项
注册修改默认 Simulink 用户界面的自定义项。