You can define your own System object by customizing the implementation methods. Use graphical tools to explore the comprehensive API for creating System objects. For example, you can insert methods to initialize, run, reset, and terminate System objects. For an introduction to defining a System object, see Define Basic System Objects.
Create a basic System object with the
Specify property attributes to limit the type, visibility, and value of properties.
Create a System object with two inputs and two outputs.
Define System objects that include other System objects as properties.
Specify a System object input whose size is locked.
Customize System Objects for Simulink (Simulink)