Main Content

Author Block Algorithms

Block authoring basics, use MATLAB® or C/C++ for authoring blocks

Simulink® and its associated toolboxes provide a wide variety of blocks within standard built-in libraries to model your system. When blocks in the standard built-in libraries do not meet your modeling requirements, you can extend the modeling functionality of Simulink by authoring algorithms of blocks that model complex systems and implement unique block behaviors. Author your reusable block using MATLAB or C/C++ code within specialized APIs.

For a detailed information to help choose between the various block authoring tools, see Choose Tools to Create Reusable Blocks in Simulink Using C/C++ or MATLAB.

You can also model Simulink blocks and components by integrating existing Simulink models, external tools, or external code into Simulink. For more information, see Create Large-Scale Model Components.

Categories