MATLAB: Hi. How can i open a file .dat in matlab to make graphs
.dat open file
Hi. How can i open a file .dat in matlab to make graphs and operations between arrays?
Best Answer
fid = fopen('YourFile.dat', 'r');
That opens the .dat file. Reading the data in it is a different question. There is no fixed format for .dat files: .dat files are any format convenient to the program that generated them. You need to know how your .dat file was generated in order to have a hope of extracting data from it.
Best Answer