How can i open/load .dat (binary) file in matlab?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
The file is uploaded at this link
https://www.dropbox.com/s/48kftolenx74zvn/BLT.DAT
I obtain it from HP 35665A Dynamic Signal Analyser. It contains amplitude and frequency information to plot graphs.
please help me to read/load and convert this into .mat format.
0 comentarios
Respuestas (1)
Image Analyst
el 30 de Nov. de 2013
Use fopen(), fread(), and fclose().
2 comentarios
Image Analyst
el 30 de Nov. de 2013
Editada: Image Analyst
el 30 de Nov. de 2013
You never read the help on them, did you. If you did, did you notice any examples at the bottom? The example code looks nothing at all like yours. fread() does not take a file name, it takes a file handle that is the output of fopen(). Same for fclose(). I suggest you try to follow the examples.
Ver también
Categorías
Más información sobre Low-Level File I/O en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!