Automatic Port Creation

Michael Carone, MathWorks

For some blocks in Simulink® models, dragging a line to connect another block to it adds a port. For example, dragging a line from a block to a subsystem adds a port to the subsystem and the inport or output block inside the subsystem.