Is it possible to change the location/ position of the input/ output ports on a subsystem block?

95 ビュー (過去 30 日間)
I have a block with in1 in2, out1, out2 where out1 goes to the left and in1 comes in from the left and out2 goes out to the right and in2 comes in from the right. So, is it possible to switch the sides so that out1 and in1 are on one side and out2 and in2 are on the other? Not sure if this functionality has been implemented yet!
  1 件のコメント
Ksenia Kolcio
Ksenia Kolcio 2015 年 10 月 31 日
I would also like to be able to put some input ports on the right side of a subsystem block as well as output ports on the left side of the same subsystem block. Is this possible?


回答 (3 件)

Prerana Ozarkar
Prerana Ozarkar 2019 年 3 月 5 日
by using Flip/Rotate it is possible

Mumbere Samuel
Mumbere Samuel 2019 年 12 月 14 日

Tim Hattrell
Tim Hattrell 2022 年 11 月 30 日
If you draw a subsystem in a blank area on the canvas (left click + drag to highlight a square, then use the context menu to create a subsystem) it will be provided with an input port and an output port. It is possible to drag these ports around the permiter of the subsystem to change their position. It would appear that if you save the subsystem in a separate file as a reference subsystem it is no longer possible to reposition the ports.


Find more on Subsystems in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by