Exporting Simulink models as SVG in MATLAB R2016b and beyond?
Show older comments
I need to export SIMULINK models as SVG images. I did not find any straightforward way to do so. Please convey if there are any options available to me? My intention is to embed these images into a word document.
Answers (1)
Fangjun Jiang
on 21 Mar 2018
use print() with '-dsvg'
f14;
handle=get_param('f14','handle');
print(handle,'-dsvg','MyModel');
winopen MyModel.svg;
1 Comment
Lance Hyatt
on 10 Feb 2023
This works great! Thank you!
Just a clarification for those unaware:
f14; %this is the name of your SIMULINK model
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!