pdf file size from simulink model

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 Commento

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?

Accedi per commentare.

Risposte (1)

Lilian Smith
Lilian Smith il 29 Lug 2019

0 voti

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!

Categorie

Prodotti

Release

R2017a

Richiesto:

il 29 Giu 2018

Commentato:

il 9 Mag 2022

Community Treasure Hunt

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

Start Hunting!

Translated by