MATLAB Answers

How can convert a .gdb (binary file) file to a .mat file ?

13 views (last 30 days)
Bernd-Uwe Stoller
Bernd-Uwe Stoller on 19 Aug 2019
Answered: Yair Altman on 19 Aug 2019
Hello, I have tried to setup and prgramm an import routine for a .GDB File from a Data Recorder called Graphtec midi logger GL240. I could not find a routine to be able to import this binary file of 30MB size. Is there a workaround availabe how to get the data into Matlab ? Thanks and best regards !

Answers (1)

Yair Altman
Yair Altman on 19 Aug 2019
I am not familiar with a direct GDB-to-Matlab function.
The easiest solution may be to store the data in CSV file rather than GDB. Then you could load the CSV into Matlab using functions such as csvread or the newer readmatrix.
Alternatively, you could ask Graphtec for a GDB-to-CSV conversion utility, and then load the resulting CSV into Matlab.





Community Treasure Hunt

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

Start Hunting!

Translated by