how to save simulink block diagram as pdf ?

153 ビュー (過去 30 日間)
Aniket
Aniket 2013 年 7 月 8 日
コメント済み: Praveen Potluri 2017 年 8 月 1 日
Hello ,
i want to save simulink block diagram as pdf , is there any way to do this in simulink ?
saveas(h,'withseparateactuating2connect','pdf') Undefined function or variable 'h'.
i have tried as above , its is mentioned in matlab help
but giving me error for 'h'
  1 件のコメント
Bull Durham
Bull Durham 2016 年 1 月 4 日
I am running 2015b on a Mac with Mavericks. In Simulink, I select "Print" from the file menu. There is an option to save the file as pdf. The resulting figure is not suitable for direct inclusion into e.g. a LaTeX document as there is a great amount of white space around the central figure. A little post-processing is required, but the result is print-quality.

サインインしてコメントする。

採用された回答

Kaustubha Govind
Kaustubha Govind 2013 年 7 月 10 日
Do you just want an image of the top-level model to be exported to a PDF file? If yes, I think you can just use the File>Print option and select a PDF Printer. If you're looking for a more extensive look inside subsystems, etc., I only know of the Simulink Report Generator product which lets you export the model as a Web View (HTML files), which is clickable.

その他の回答 (1 件)

Valerie
Valerie 2014 年 7 月 7 日
編集済み: Valerie 2014 年 7 月 7 日
The solution suggested above only works if you have access to a pdf printer (which I think requires a specific Adobe product.)
Here is the method I use to save Simulink diagrams to pdf:
>>saveas(get_param('FigX_model','Handle'),'FigX_model.pdf');
This method works in 2013a.
  1 件のコメント
Praveen Potluri
Praveen Potluri 2017 年 8 月 1 日
There are some free softwares out there like cutepdf writer. You can use that to save a simulink block diagram as pdf. Similar to the one Kaustubha mentioned.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by