23MTRN08I Lec 8 - Modelling Using Simulink PDF
23MTRN08I Lec 8 - Modelling Using Simulink PDF
Using subsystems:
• Establishes a hierarchical block diagram, where a
Subsystem block is on one layer and the blocks that make
up the subsystem are on another.
• Keeps functionally related blocks together.
• Helps reduce the number of blocks displayed in your
model window.
• Establishes an interface with inputs and outputs..
Modelling and Simulation 6
Subsystems
• When you make a copy of a subsystem, that copy is
independent of the source subsystem.
• To reuse the contents of a subsystem across a model or
across models, consider referenced subsystems,
referenced models, or subsystems linked to a block in a
custom library.
• A subsystem can be virtual or nonvirtual. A virtual
subsystem provides graphical hierarchy in a model. A
nonvirtual subsystem provides graphical hierarchy and
executes as a unit within a model.
➢ Write a MATLAB script to define variables for the signal data. For
example, you can create Dataset format data that you can use
with all the signal loading techniques.
❖ From File block — Read data from a MAT-file, outputting the data
as a signal.