MatLab script to animate the model of the carousel