I want to do the following task in Matlab. I have created a SimMechanics model of a planar mechanism and I need to develop a GUI and control the motion of the mechanism by controlling the motion of a particular point that I select. I attach a Haptic device to the computer and use it to control the positions of the selected point. So I need a GUI through which I can select a particular point on the SimMechanics model and control its motion using haptic device. Also I need to output the velocity and acceleration back to the haptic device.
It would be really helpful if a detailed description of what to do is given. Thanks in advance