![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/495738/image.png)
Why my assembly doesn't move in simscape multibody
12 views (last 30 days)
Show older comments
I'm try to learn how to use simscape multibody. I've followed all the procedures to make a simulation and up till the animation part. The assembly is just a wheel attached to a motor and I used concentric and coincident mate. I also checked that the wheel could rotate with my mouse draging one side of the wheel. Attached the simulink diagram generated by matlab. I'm open to any possibly to check where is wrong.
![simulation problem.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/224767/simulation%20problem.jpeg)
0 Comments
Answers (1)
Yatish Chandra Chitluri
on 21 Jan 2021
Firstly, as there is no motion specified to the joint nor a force specified to a frame, So, I don't expect the wheel to rotate.
Secondly, I'm guessing gravity will not be causing any rotation.
So, I suggest you to give a motion/force to the revolute joint (like direct kinematics) or you can try defining a frame movement on the wheel using, "bushing joint" (like Inverse Kinematics)
In Revolute joint, Try Torque-Automatically computed and Motion - Provided by Input, (remeber that units of motion here are radians). simply use any source and Simulink-PS Convertor.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/495738/image.png)
Or you can the other way,Torque - Provided by Input and Motion- Automatically computed. Either way, take care of Units
I hope this helps. Good luck!
Regards,
Yatish.
1 Comment
PHLORM Thinhhouy
on 19 Sep 2021
Edited: PHLORM Thinhhouy
on 19 Sep 2021
I don't know why it doesn't work.
" Type mismatch in signal connection. Source signal type is s and destination signal type is rad. Convert the signals to have commensurate units and compatible sizes before directly connecting. "![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/743109/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/743109/image.png)
See Also
Categories
Find more on Multibody Dynamics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!