How to load/read the ASCII Files

조회 수: 2 (최근 30일)
Nimrod
Nimrod 2012년 10월 15일
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
Matt Kindig
Matt Kindig 2012년 10월 15일
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 2012년 10월 15일
Ok so I see....
csvread('nameofthefile.A01')
?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by