User-Defined Functions
自定义函数模块,如 MATLAB Function、MATLAB System、Simulink Function 和 Initialize Function
使用 User-Defined Functions 库中的模块,通过创建新类型的模块来扩展 Simulink® 建模功能。您可以使用 MATLAB、C/C++ 和 Fortran 代码实现模块算法。
模块
C Caller | Integrate C code in Simulink |
C Function | Integrate and call external C/C++ code from a Simulink model |
Fcn | Apply specified expression to input |
Function Caller | 调用 Simulink 或导出的 Stateflow 函数 |
Initialize Function | 在发生模型初始化事件时执行子系统 |
Interpreted MATLAB Function | (将删除)对输入应用 MATLAB 函数或表达式 |
Level-2 MATLAB S-Function | 在模型中使用 2 级 MATLAB S-Function |
MATLAB Function | 将 MATLAB 代码包含在生成可嵌入式 C 代码的模型中 |
MATLAB System | 在模型中包含 System object |
Reinitialize Function | Execute subsystem on model or subsystem reinitialize event |
Reset Function | Execute subsystem on model reset event |
S-Function | 在模型中包含 S-Function |
S-Function Builder | 集成 C 或 C++ 代码以创建 S-Function |
Simulink Function | 用 Simulink 模块以图形方式定义函数 |
Terminate Function | 在发生模型终止事件时执行子系统 |