MATLAB Examples

Simulink Subsystem Semantics

This set of examples shows different types of Simulink® Subsystems and what semantics are used when simulating these Subsystems. Each example provides a description of the model and the subtleties governing how it will be executed.

Examples are provided for the following Subsystem types.

  • Virtual and Nonvirtual Subsystems
  • Function-call Subsystems
  • Triggered Subsystems
  • Enabled Subsystems
  • Triggered and Enabled Subsystems
  • If/else Subsystems
  • While Subsystems
  • For Subsystems