Simulate Dynamics in MATLAB, Simulink, Excel, and Python

First order linear system simulation with different tools

You are now following this Submission

This is one of the first tutorials as part of a dynamic optimization course at http://apmonitor.com/do It simulates the relationship between an input (p) and output (y) with an example of a force balance on an automobile. Below is a link to a corresponding tutorial video.
https://youtu.be/y0ERNz5Kms8

Cite As

John Hedengren (2026). Simulate Dynamics in MATLAB, Simulink, Excel, and Python (https://in.mathworks.com/matlabcentral/fileexchange/50393-simulate-dynamics-in-matlab-simulink-excel-and-python), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0