Any recommended URL or idea , that explains how to read encoder via Arduino IDE and then use these readings in MATLAB simulation to be used as a feedback compared with the desired speed and direction of a DC Motor Encoder in a control loop
Many thanks for sharing information in this regards