Exporting Simulink models as SVG in MATLAB R2016b and beyond?

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)

use print() with '-dsvg'
f14;
handle=get_param('f14','handle');
print(handle,'-dsvg','MyModel');
winopen MyModel.svg;

1 Comment

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 Simulink in Help Center and File Exchange

Products

Asked:

on 21 Mar 2018

Commented:

on 10 Feb 2023

Community Treasure Hunt

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

Start Hunting!