Esta página aún no se ha traducido para esta versión. Puede ver la versión más reciente de esta página en inglés.
Para poder definir un System object propio, se deben personalizar los métodos de implementación. Use herramientas gráficas para explorar la extensa API y crear System objects. Por ejemplo, se pueden insertar métodos para inicializar, ejecutar, restablecer y terminar System objects. Para ver una introducción a la definición de un System object, consulte Define Basic System Objects.
matlab.System | Base class for System objects |
matlab.system.mixin.FiniteSource | Finite source mixin class |
Create a basic System object with the stepImpl
method.
Specify property attributes to limit the type, visibility, and value of properties.
This example shows how to set the number of inputs for a System object™ with and without using getNumInputsImpl
.
Define Composite System Objects
Define System objects that include other System objects as properties.
Handle Input Specification Changes
Implement methods to restrict when System object input complexity, data type, or size can change or implement a method to react when input specifications change.
Customize System Objects for Simulink (Simulink)
System Objects in MATLAB Code Generation (MATLAB Coder)