Print model subsystems

Prints all or tagged subsystems to EPS

You are now following this Submission

Print Simulink model as EPS-file to specified directory.

Syntax:
PRINTALLS('system','output directory')
PRINTALLS('system','output directory','tag regexp')

Notes:
() Output directory must exist
() Model is scanned recursively and goes under masks
() When tag regexp is specified, only those of subsystems
which have property 'Tag' set to some non-empty value matching
the regular expression are considered.
6) Root system is always printed.
7) Output filenames are generated in two ways:
a) When no regexp is used, it is full pathname of the subsystem
within the model, with slashes replaced by underscores.
b) With regexp specified, tag values are used as filenames.
8) After the printing, all subsystems are closed, root remains open.

Cite As

Tomas Hajek (2026). Print model subsystems (https://www.mathworks.com/matlabcentral/fileexchange/10356-print-model-subsystems), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: prints.m

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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