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
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)