La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.
User-Defined Functions
Blocs de fonctions personnalisées tels que MATLAB Function, MATLAB System, Simulink Function et Initialize Function
Utilisez les blocs de la bibliothèque User-Defined Functions pour étendre les fonctionnalités de modélisation de Simulink® en créant de nouveaux types de blocs. Vous pouvez implémenter des algorithmes de bloc avec du code MATLAB®, C/C++ et Fortran®.
Blocs
C Caller | Integrate C code in Simulink |
C Function | Integrate and call external C/C++ code from a Simulink model (depuis R2020a) |
Fcn | Apply specified expression to input |
Function Caller | Call Simulink or exported Stateflow function |
Initialize Function | Execute subsystem on model initialize event |
Interpreted MATLAB Function | (To be removed) Apply MATLAB function or expression to input |
Level-2 MATLAB S-Function | Use Level-2 MATLAB S-function in model |
MATLAB Function | Include MATLAB code in Simulink models |
MATLAB System | Include System object in model |
Reinitialize Function | Execute subsystem on model or subsystem reinitialize event (depuis R2022a) |
Reset Function | Execute subsystem on model reset event |
S-Function | Include S-function in model |
S-Function Builder | Integrate C or C++ code to create S-functions |
Simulink Function | Graphically define a function with Simulink blocks |
Terminate Function | Execute subsystem on model terminate event |