How to load/read the ASCII Files

2 views (last 30 days)
Nimrod
Nimrod on 15 Oct 2012
I need help on how to load/read the ASCII files.
I have files that are in a .A01 format but I dont know if I am supposed to changed it to .txt in order for MATLAB to run it?
Thanks!
  2 Comments
Matt Kindig
Matt Kindig on 15 Oct 2012
You shouldn't need to change the extension--Matlab does not require a particular extension (or any extension at all, for that matter). However, depending on the format, the standard import methods (e.g. importdata(), dlmread(), csvread(), textscan(), etc.) might not work. Try one of those standard approaches first and see if it works.
Nimrod
Nimrod on 15 Oct 2012
Ok so I see....
csvread('nameofthefile.A01')
?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!