These are the files used in the webinar broadcast from MathWorks.com on Aug 28, 2008: Hardware-in-the-Loop (HIL) of a Position Control System. The demo shows how to use SimMechanics to model a mechanical system in Simulink. Then use xPC Target to run the Simulink model in a real-time, closed-loop, HIL simulation to test the controller.
Sam Mirsky (2020). HIL of Position Control System (https://www.mathworks.com/matlabcentral/fileexchange/21234-hil-of-position-control-system), MATLAB Central File Exchange. Retrieved .