%% Friction Model with Hard Stops
% 
% This demonstration shows one way to model friction in Simulink. The two integrators in 
% the model calculate the velocity and position of the system, which is then used in 
% the Friction Model to calculate the friction force. 
% 
% Running the simulation shows the initial condition response on the Scope. 

open_system('sldemo_hardstop')
