Fondamentaux de la création de blocs
Principes de l’extension des fonctionnalités de modélisation de Simulink® par la création de blocs
Simulink vous permet d'étendre les fonctionnalités de modélisation prédéfinies en créant vos propres blocs.
Si la bibliothèque prédéfinie ne propose pas le bloc Simulink adéquat, il vous suffit d'en créer un qui correspond à vos besoins. Vous pouvez créer de nouvelles fonctionnalités avec une fonction MATLAB® plutôt qu'un schéma bloc Simulink.
Blocs
Function Caller | Call Simulink or exported Stateflow function |
Level-2 MATLAB S-Function | Use Level-2 MATLAB S-function in model |
MATLAB Function | Include MATLAB code in Simulink models |
MATLAB System | Include System object in model |
S-Function | Include S-function in model |
S-Function Builder | Integrate C or C++ code to create S-functions |
Simulink Function | Graphically define a function with Simulink blocks |
Fcn | Apply specified expression to input |
Rubriques
- Types of Custom Blocks
Learn about the capabilities of custom blocks.
- Design and Create a Custom Block
Build a custom block using a Level-2 MATLAB S-function.
- Comparison of Custom Block Functionality
Compare and contrast the features of different custom blocks types.