pdf file size from simulink model

4 次查看(过去 30 天)
I'm trying to obtain a pdf as little as possible in file size from a simulink model. I noticed a big difference in resulting pdf file size between the following two procedures:
1) using matlab command:
print -dpdf -s test.pdf
2) using Simulink print dialog: File > Print > Print > Print to file > test.pdf
While the rusulting pdfs look the same, option 1) produces a 308KB pdf, option 2) only 22KB
Is there a way to obtains the pros from the two options: little size but from command line?
  1 个评论
Sebastian
Sebastian 2022-5-9
I have a similar problem.
Matlab 2015b:
simulink dialog -> small pdf file size
matlab command -> small pdf file size
Matlab 2018b:
simulink dialog -> small pdf file size
matlab command (print or saveas) -> big pdf file size
What would the print command look like which reproduces the exact same behavior and output file (size) as the simulink dialog?

请先登录,再进行评论。

回答(1 个)

Lilian Smith
Lilian Smith 2019-7-29
Hi I'm honored to be able to help you solve your problem. I've had this problem before, but later i found a free online pdf compressor websutes, that is FoneDog PDF Compressor. I hope it can help you solve your problem.Good lucky!

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by