Creating a Subsystem and aligning the inports and outports

7 views (last 30 days)
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 Comments
Kaustubha Govind
Kaustubha Govind on 6 Aug 2012
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 on 9 Aug 2012
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?

Sign in to comment.

Answers (0)

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!