Creating a Subsystem and aligning the inports and outports

2 次查看(过去 30 天)
Hi
I am copying the set of blocks from one model to the other model inside a top-level subsystem by using the command "copyContentsToSubSystem". After that i am creating the inport and outport in the top-level subsystem. I have set the position properly to the susbsystem porthandles. But the inport and outport positions are mixed with eachand every one and its not looking good. How to leave the gap between the inport and outport?
  2 个评论
Kaustubha Govind
Kaustubha Govind 2012-8-6
Now sure what you mean by "But the inport and outport positions are mixed with eachand every one and its not looking good" - could you provide a snapshot maybe? See Where can I upload images and files for use on MATLAB Answers?
Also, it appears that you are manually creating the inport/outport blocks, so I'm confused about why there is trouble regarding their positions.
Moorthy
Moorthy 2012-8-9
Please see this link : http://i50.tinypic.com/vsdool.jpg
I am trying to create the input and output port automatically(thru m script). I am taking the Subsystem portHandles.Inport position and setting the postion for input. Once all the input and output are created, it is mixed with one and other. The signal names are not clearly visible to read. Is there any way to leave the enough space between the two input(or output) ports?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Subsystems 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by