Print model subsystems
No License
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 (2024). Print model subsystems (https://www.mathworks.com/matlabcentral/fileexchange/10356-print-model-subsystems), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: prints.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |