필터 지우기
필터 지우기

Large whitespace around Simulink model when exporting to .eps file in R2010a

조회 수: 1 (최근 30일)
josar
josar 2011년 2월 2일
When exporting a Simulink model to .eps file through
print -smymodel -depsc
I obtain a postcript file with a huge whitespace around the content of the model. It is obviously a problem with the bounding box of the .eps file.
In R2008a it works fine, the bounding box precisely surrounds the blocks but in R2010a the bounding box is huge, which leads to undesirable whitespace around the model.
Does anybody know how to avoid this and get the same functionality from R2010a as from R2008a? Please note that hand-editing of the .eps file is not an option, I have a lot of files to process.

답변 (2개)

Walter Roberson
Walter Roberson 2011년 2월 2일
This related question about .ems files might provide some useful hints.

MarkB
MarkB 2011년 2월 3일
The following link might relate to this:
To the best of my knowledge, there aren't any guarantees of 1:1 correspondence between exported files and the layout of the model; Naturally, all blocks ought to be included in their positions relative to other blocks, but I would advise against depending on padding and cropping of surrounding whitespace.

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by