Inverted Pendulum Animation
This system simulates a cart carrying an inverted pendulum and displays an animation.
The animation is created using MATLAB's Handle Graphics. The animation block is just a masked S-function.
For more information on what the S-function does, look at the functions pendan.m, pend0.m, and pendsets.m.