Real-time Arduino based Robotic arm simulation in matlab or simulink

I have a project where I have to build a 4 DOF robotic arm and compute its forward and inverse kinematics. I have already developed a CAD model of the arm and I have already done the theoretical calculations but now I need to do real time simulation of the robotic arm in matlab or simulink.
My main question is how do I send real-time angles from arduino to matlab(or vice-versa) for simulation?
Any answers or links provided will be greatly appreciated...

Asked:

MAX
on 16 Apr 2020

Answered:

on 19 May 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!