generating full view of a simulink model?

1 view (last 30 days)
to generate a Jpeg or SVG images of a simulink model we generally use print command with arguments.But the problem is that the generated image is the screenshot of the blocks and their active area in the model (example : if i have a block which is 300 pixels away from origin and i used the print command i will get the image such a way that the block is at the origin(assuming the model contains only that block).Is there any way to generate an JPEG or SVG image which will stay true to its origin related to its position in the image
  2 Comments
@Johannes
@Johannes on 23 Sep 2015
Hi,
do you use " print -s -dsvg filename" to generate the svg? And what is the origin? Is that the place in the upper left corner?
Regards, John
korraprolu brahma
korraprolu brahma on 25 Sep 2015
Hi Johannes
Yes i used the command to get the svg of the model and Origin in my question refers to the point with coordinates 0,0 in the simulink viewer
i.e if u create a block in a new simulink model , u can find that its parameter position will give you 4 numbers(up left down right) these numbers indicates the block distance (in no.of pixels) from the origin. you can move the block above the origin and find that the position values will have negative numbers which indicates that the origin is fixed on the simulink model viewer
Regards
K Brahma

Sign in to comment.

Answers (0)

Categories

Find more on Modeling 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!