Modelling for MATLABs
MATLAB modelling and simulation means representing a system with equations or blocks and observing its behaviour over time. ODE solvers such as ode45 integrate differential equations in code, and Simulink offers a block diagram environment for building and simulating dynamic systems, including control loops.
Stage: Applications · Part of the MATLAB roadmap · Last reviewed 19 November 2026
What to learn in Modelling
- Solve an initial value problem with ode45 and plot the solution
- Write a differential equation as a function the solver can call
- Build a simple Simulink model from source, gain and scope blocks
- Set simulation stop time and solver options in Simulink
- Compare simulation output with a hand-derived analytical result
Modelling interview questions
How does ode45 work at a high level?
ode45 is an adaptive step Runge-Kutta solver for non-stiff ordinary differential equations. It estimates the error at each step and adjusts the step size to meet tolerances. For stiff problems, a solver such as ode15s is usually a better choice.
What is Simulink used for?
Simulink is a graphical environment inside MATLAB for modelling, simulating and analysing dynamic systems with blocks and signal lines. It is common in control design, signal processing and embedded system work, where you want to see system behaviour over time.
Where Modelling fits in the MATLAB roadmap
Modelling belongs to the Applications stage (beginner level). Toolbox areas.
Other units in this stage
Back to the full MATLAB roadmap