title: Rotational mechanical system in Simulink
body: <p>I'm simulating a shaft system in Simulink, where I have to find the displacement of a mass. I'm not sure how to model this in Simulink because of the shaft and pulley. I'm looking through the documentation and the closest thing I see to a shaft is the wheel and axle block. But the shafts are connected by a flexible shaft, which is similar to a spring. Any ideas? </p>
  
  <p><img src="https://i.stack.imgur.com/HaXEO.png" alt="enter image description here"></p>