Programmatic Model Editing
Create models, add and connect blocks in models, set parameters and
properties, and perform other modeling basics programmatically
Learn the basics of programmatic model management in Simulink®.
Functions
Parameters
Topics
- Programmatic Modeling Basics
Create models, add and connect blocks in models, set parameters and properties, and perform other modeling basics programmatically.
- Get Handles and Paths
Programmatically specify models, components, and model elements you want to edit.
- Search Programmatically
Find models, blocks, signal lines, ports, and annotations.
- Run Simulations Programmatically
Run simulations programmatically by writing scripts or by issuing commands in the MATLAB® Command Window.
- Programmatically Print Models from MATLAB Command Window
The MATLAB
print
command provides several options for printing Simulink models.