MATLAB Answers


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

Asked by Bernd-Uwe Stoller on 19 Aug 2019
Latest activity Answered by 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 !


Sign in to comment.





1 Answer

Answer by 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.


Sign in to comment.