MATLAB: How do you convert a DAT file to a text file

dat conversiontext file

can you attach your binary file?

Best Answer

Yes, most likely you can convert the file - if you can examine the internal structure. Look into the docs of the program, which creates these DAT files. Either you find a clear description there and can create a file to import the binary data in Matlab. Or the program allows to import such a DAT file and export it as text file.
Creating a Matlab function to import the binary DAT files is usually not too complicated, but not trivial also. Without knowing the specific definition of the format, it is impossible to guess, how the import function must be written.
Related Question