Import Data from Text Files Generated by Cosmed FitMate

Import Cosmed FitMate metabolic data text files into MATLAB.
Updated 27 Feb 2012

View License

The Cosmed FitMate software saves metabolic data in a text file. Use this function to import the data into MATLAB.


1. sample data file VO2data14Feb.TXT
The text file contains time in HH:MM:SS format, followed by metabolic data in columns.

2. main program readFitmateShell.m calls the function, converts the time to minutes, and plots heart rate and oxygen consumption (VO2).

3. function readFitmate.m
The function imports data into a cell and parses the data. It converts the three time fields to a single time matrix in seconds.

Cite As

John Rogers (2024). Import Data from Text Files Generated by Cosmed FitMate (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Genomics and Next Generation Sequencing in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes