Crear funciones S de MATLAB
Cree bloques personalizados con funciones S de nivel 2 de MATLAB®
La API de funciones S de MATLAB permite utilizar lenguaje de MATLAB para crear bloques personalizados con la capacidad de manejar múltiples puertos de entrada y salida, así como señales producidas por un modelo de Simulink®, incluidas las señales de matriz y trama de cualquier tipo de datos.
Bloques
S-Function | Incluir la función S en el modelo |
Métodos
Clases
Simulink.MSFcnRunTimeBlock | Get run-time information about Level-2 MATLAB S-function block |
Simulink.RunTimeBlock | Allow Level-2 MATLAB S-function and other MATLAB programs to get information about block while simulation is running |
Simulink.BlockData | Provide runtime information about block-related data, such as block parameters |
Simulink.BlockPortData | Describe block input or output port |
Simulink.BlockCompDworkData | Provide post-compilation information about block DWork
vector |
Simulink.BlockCompInputPortData | Provide post-compilation information about block input port |
Simulink.BlockCompOutputPortData | Provide post-compilation information about block output port |
Simulink.BlockPreCompInputPortData | Provide precompilation information about block input port |
Simulink.BlockPreCompOutputPortData | Provide precompilation information about block output port |
Temas
- Write Level-2 MATLAB S-Functions
Explains how to create MATLAB S-functions based on the current Level-2 MATLAB S-function application programming interface (API).
- S-Function Examples
Create various types of S-functions and S-function features.