Use blocks from the User-Defined Functions library to extend Simulink® modeling functionality by creating new types of blocks. You can implement block algorithms using MATLAB, C/C++, and Fortran code.
C Caller | Integrate C code in Simulink |
C Function | Integrate and call external C code from a Simulink model |
Function Caller | Call Simulink or exported Stateflow function |
Initialize Function | Executes contents on a model initialize event |
Interpreted MATLAB Function | 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 models that generate embeddable C code |
MATLAB System | Include System object in model |
Reset Function | Executes contents on a model reset event |
S-Function | Include S-function in model |
S-Function Builder | Integrate C or C++ code to create S-functions |
Simulink Function | Function defined with Simulink blocks |
Terminate Function | Execute contents on a model terminate event |