How can I animate a robot CAD model corresponding to my MATLAB code?
17 views (last 30 days)
I have a CAD(SolidWorks) assembly of a robot arm and a MATLAB code of inverse position kinematics. I want to animate the robot arm according to the inverse position kinematics code I created. I know that I should use Simscape to do the task. Since I've never used the tool, I have few questions about that.
- I have only the MATLAB code script for the kinematics. Should I have to make a Simulink model to use Simscape?
- The kinematics code calculates the angle of rotation of the robot arm's joints(output data) using position x,y,z (input data). How can I make the joints of the robot arm CAD model rotate corresponding to the angle of rotation I got from the MATLAB code?
- If you know any source I could learn about Simscape, please let me know.