Use Simulink® to model algorithms and physical systems using block diagrams. You can model linear and nonlinear systems, factoring in real-world phenomena such as friction, gear slippage, and hard stops.
A comprehensive library of predefined blocks helps you to build models. You add blocks from the library to your model using the Simulink Editor. In the editor, connect blocks by way of signal lines to establish mathematical relationships between system components. You can also refine the model appearance and add masks to customize how users interact with the model.
You can design your models to be hierarchical by organizing groups of blocks into subsystems. This approach enables you to build discrete components that reflect your real-life system and simulate the interaction of those components.