Creating and Loading .dat and .ext Data Files in MATLAB"

  • Context: MATLAB 
  • Thread starter Thread starter cpv
  • Start date Start date
  • Tags Tags
    Data File Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 5K views
cpv
Messages
7
Reaction score
0
we can call data file using 'load' command. I have created data file using notepad. which I can only save it with .ext extension, not dat.

where to create .dat files? and how can I load .ext or .dat files? thanks
 
Physics news on Phys.org
Notepad will be saving as plain (ASCII) text. If the Matlab .dat format is also text, simply change the .ext (.txt?) extension to .dat in Windows Explorer. OK any warning Windows gives on the change.

More info on data files is available here:
http://www.mathworks.co.uk/help/matlab/import_export/supported-file-formats.html