Dear all,

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,

Views: 3821

Reply to This

Replies to This Discussion

Hello Mohamed, 

can i get a code? please help me. :)

my email:

i am trying to communicate my apm with matlab, but i very confused about this, 

thank you very much

Assalamu'alaykum Warohmatulloh Wabarokatuh

please to
thx Sir

Wassalamu'alaykum Warohmatulloh

can i have this code of interfacing apm with matlab?

I need it for4th year project

my email id -

hello... I am facing the same problem.. can i asked for your help sir? my email is

Hi sir, possible to send me the code?

Hi Chris I have a problem in how to connect  the APM 2.6 with MATLAB is there any code or interfacing program to make like a communicating between the APM  and the pc  ground station  

Chris Anderson said:

Mission Planner supports MATLab export:

Can I have the code? Email Address:

Thank You,

Reply to Discussion


© 2020   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service