Main Content

Die Übersetzung dieser Seite ist veraltet. Klicken Sie hier, um die neueste Version auf Englisch zu sehen.

Grundlagen des MATLAB Function-Blocks

Integration von MATLAB®-Funktionen in Simulink®-Modellen

Verwendung von MATLAB Function-Blöcken zur Implementierung von MATLAB-Funktionen in Simulink-Modellen.

Tools

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

Blöcke

MATLAB FunctionInclude MATLAB code in Simulink models

Objekte

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

Themen

Fehlersuche

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.