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.
John Hedengren (2020). Simulate Dynamics in MATLAB, Simulink, Excel, and Python (https://www.mathworks.com/matlabcentral/fileexchange/50393-simulate-dynamics-in-matlab-simulink-excel-and-python), MATLAB Central File Exchange. Retrieved .