MATLAB and Simulink Work Together
When you use MATLAB® and Simulink® together, you combine textual and graphical programming to design your system in a simulation environment.
Directly use the thousands of algorithms that are already in MATLAB. Simply add your MATLAB code into a Simulink block or Stateflow® chart.
Use MATLAB to create input data sets to drive simulation. Run thousands of simulations in parallel. Then analyze and visualize the data in MATLAB.