Hi Tony,
I hope, you will help to me!..
Fig-1 : this is block diagram. Block diagram is working but on the base; it isnt working that block name is "Düzlem". "Düzlem" means Plane. Finally problem is here.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179715/image.jpeg)
Fig-2: Run, second 0.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179717/image.jpeg)
Fig-3: continue... I left it gravity and it is approaching on the plane...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179719/image.jpeg)
Fig-4 it did not recognize that created a plane.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179720/image.jpeg)
Fig 5. ıt is going on gravity...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179722/image.jpeg)
Fig 6. I try to solve plane problem by copying the example "Rolling Sphere". Because, I never see Matlab lesson and simmechanics. I am learning myself for thesis and just can look at top right "HELP" button and on the internet.
I hope, you solve problem!..
You can look this fig 6.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179724/image.jpeg)
Finally Simmechanics file: