Main Content

La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.

Fondamentaux des blocs MATLAB Function

Intégrer des fonctions MATLAB® dans des modèles Simulink®

Utilisez des blocs MATLAB Function pour implémenter des fonctions MATLAB dans des modèles Simulink.

Outils

MATLAB Function Block EditorCreate, edit, and debug MATLAB code in MATLAB Function blocks

Blocs

MATLAB FunctionInclude MATLAB code in Simulink models

Objets

MATLABFunctionConfigurationMATLAB Function block property configuration (depuis R2019b)
Stateflow.EMChartStateflow interface to MATLAB Function block

Rubriques

Résolution des problèmes

Debug MATLAB Function Blocks

Debug MATLAB Function block code during simulation.

Prevent Algebraic Loop Errors in MATLAB Function, Chart, and Truth Table Blocks

Adhere to restrictions for using MATLAB Function blocks, Chart, and Truth Table blocks in feedback loops.

Initialize Persistent Variables in MATLAB Functions

Specialized semantics impact the way that a function initializes persistent data.