Real-time flight data transfer from Mission Planner to Matlab

Hi all,

I am trying to send real-time flight data from Mission Planner (using MAVlink option) to Matlab via TCP/IP. I received some data in MATLAB but that data were encrypted. How to resolve this problem?
Is there any other way to send real-time flight data from Pixhawk Quadcopter to Matlab?
Any help would be greatly appreciated

Thank you in advance.

I doubt that data is encrypted, It is in Mavlink format. Do you use UAV Library for Robotics System Toolbox and mavlinkio in Matlab ?

Thank you for your response.
Do you know how to convert the Mavlink format? Actually, I want to read real-time lat, log, alt, pitch, roll and yaw data in Matlab.
If I install the UAV Library for Robotics System Toolbox in Matlab, is it possible to convert the Mavlink format?
Thanks once again.