Simulink Reference | ![]() ![]() |
Model File Contents
A model file is a structured ASCII file that contains keywords and parameter-value pairs that describe the model. The file describes model components in hierarchical order.
The structure of the model file is as follows.
Model { <Model Parameter Name> <Model Parameter Value> ... BlockDefaults { <Block Parameter Name> <Block Parameter Value> ... } AnnotationDefaults { <Annotation Parameter Name> <Annotation Parameter Value> ... } System { <System Parameter Name> <System Parameter Value> ... Block { <Block Parameter Name> <Block Parameter Value> ... } Line { <Line Parameter Name> <Line Parameter Value> ... Branch { <Branch Parameter Name> <Branch Parameter Value> ... } } Annotation { <Annotation Parameter Name> <Annotation Parameter Value> ... } } }
The model file consists of sections that describe different model components:
Model
section defines model parameters.
BlockDefaults
section contains default settings for blocks in the model.
AnnotationDefaults
section contains default settings for annotations in the model.
System
section contains parameters that describe each system (including the top-level system and each subsystem) in the model. Each System
section contains block, line, and annotation descriptions.
See Model and Block Parameters for descriptions of model and block parameters.
![]() | Mask Parameters | Model Section | ![]() |