To export Simulink models/block diagrams to eps or other image formats is easy. First, open your model. Next, use the print function to export to other formats (note the letter ‘s’ that must precede the model name, which is entered without the ‘.mdl’ postfix):

print -s<modelname> -d<xxx> -r<resolution> <filename>.<xxx>

For example, to export simmodel.mdl to eps with a resolution of 300 dpi, type

print -ssimmodel -deps -r300 simmodel.eps

The file simmodel.eps will be created in the directory where the command is entered.

For more information about image formats and print options, type

help print


Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)