Creating a Subsystem and aligning the inports and outports

조회 수: 8 (최근 30일)
Moorthy
Moorthy 2012년 8월 6일
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에서 Schedule Model Components에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by