Pendulum's equation of motion done in Simulink using ode45 solver.
Calculated angle and corresponding x and y coordinates of the pendulum mass are exported to MATLAB workspace and plotted accordingly with timer object.
Video shown is accelerated version of 40seconds duration.