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