I would like to communicate my APM2 with MATLAB using USB.
Basically, I would like to send the raw data of the accelerometer, gyros, and the magnetometer to MATLAB for advanced processing.
What is the right code to write on the APM as well as on MATLAB for the communication to work as perfect as possible with the minimal packets loss, if none at all ?!
I really need your help to get this done as soon as possible!
EDIT: Oct 31st, 2015
SOLUTION is here,