Get coordinates out of log files?

Hy there,

I aim to evaluate the deviation of the vehicle’s actual route from the optimal path between waypoints.
To do this, I plan to extract the coordinates from the ArduPilot log files and perform a separate analysis using MatLab.

I have .rlog, .tlog and .bin files.

How can I extract the GPS-data?
I am also open for other suggestions regarding the analysis.

Thanks, Dominik

Use ardupilog to load .bin log files into matlab.