How to Create Ports in Simulink
With Automatic Port Creation you can add inports and outports to a block by just clicking or dragging the block outline. This means easier and faster model editing than before.
If a block supports Automatic Port Creation, you will see cross-hairs and a plus sign when hovering over the block. When you click on a block outline, the new port number appears in blue.
When you place the cursor over the new port, a menu appears, and you can select the type of port you want to create. The options that will appear are only the type of ports that you can create for a specific block. For example, a Subsystem can have a signal, bus, or connection port. This feature also works for Stateflow charts and other blocks.
For more information, please check out our documentation.
Published: 12 Sep 2018
Featured Product
Simulink
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)