La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.
Fondamentaux des blocs MATLAB Function
Utilisez des blocs MATLAB Function pour implémenter des fonctions MATLAB dans des modèles Simulink.
Outils
MATLAB Function Block Editor | Create, edit, and debug MATLAB code in MATLAB Function blocks |
Blocs
MATLAB Function | Include MATLAB code in Simulink models |
Objets
MATLABFunctionConfiguration | MATLAB Function block property configuration |
Stateflow.EMChart | Stateflow interface to MATLAB Function block |
Paramètres du modèle
Rubriques
- Implémenter des fonctions MATLAB dans Simulink avec des blocs MATLAB Function
Utilisez des blocs MATLAB Function pour implémenter du code MATLAB dans des modèles Simulink.
- Resolve Signal Objects for Output Variables
Manage implicit signal resolution at various levels of the model hierarchy.
- Code and Integration Limitations for MATLAB Function Blocks
Learn limitations of MATLAB Function blocks before use in your model.
- Integrate C Code by Using the MATLAB Function Block
Use MATLAB Function blocks to call external C code and control enumeration and bus typedefs.
- Overview of Integrating Python Code with Simulink
Integrate Python® code with Simulink Using MATLAB Function block or MATLAB System block.
- Configure MATLAB Function Blocks Programmatically
Set up a MATLAB Function block and inspect it with programmatic commands.
Résolution des problèmes
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.