Clear Filters
Clear Filters

Exporting Simulink models as SVG in MATLAB R2016b and beyond?

102 views (last 30 days)
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
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
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

Sign in to comment.

Categories

Find more on Interactive Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!