Export a complete simulink diagram

This function exports an image for every subsystem in your model. Eps, png, etc

You are now following this Submission

This function goes through your model, and exports every subsystem to a separate image. This is very handy when writing reports, you can have your script update your figures-folder for your TeX file automatically.

It can also be used together with the "LaTeX publish" option in Matlab.

When the second argument is 1 (boolean true), the function generates a file called simulink_images.m, which includes your images for you. Just run this file at the end of the file your wish to publish.

Hope somebody else find this useful, comments are appreciated

Cite As

Kristian (2026). Export a complete simulink diagram (https://www.mathworks.com/matlabcentral/fileexchange/35751-export-a-complete-simulink-diagram), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Modeling in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0