How can I read a '.dat' file on MATLAB?

4 views (last 30 days)
DRISHYA S KUMAR P N
DRISHYA S KUMAR P N on 26 May 2021
Edited: per isakson on 26 May 2021
How can I read a '.dat' file on MATLAB?Pleas anyone help me.Thank you

Answers (1)

per isakson
per isakson on 26 May 2021
Edited: per isakson on 26 May 2021
google says: "A file with the . dat file extension is a generic data file that stores specific information relating to the program that created the file. [...] DAT files typically contain simple text" That is not enough information to recommend a way to read it. Matlab provides many different functions that reads text files. See Importing Data From-Files Programmatically and/or Importing Data from Text Files Interactively
What have you tried?
What is the format of your file? Upload a sample file.

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!