Is there a matlab function to read in a *.fit file from a Garmin device?

62 views (last 30 days)
Garmin GPS watches record a variety of parameters during running, cycling, and swimming. The parameters are all recorded in *.fit files. These files are read into different user interfaces (e.g., Garmin Connect).
I would like to read the file directly into matlab in order to process them.
I found a web site that does this:
But this is time consuming to do one file at a time.
Has anyone created a matlab function to accomplish this?

Answers (2)

Walter Roberson
Walter Roberson on 12 Apr 2018

Luis Erasmo Miranda
Luis Erasmo Miranda on 22 Jun 2023
you can convert the files with the included tool in the Garmin's SDK:
or well, you can write your own matlab code to decode de FIT data.
The documentation is here:


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!