HOW TO OPEN .DAT FILE?
조회 수: 2 (최근 30일)
이전 댓글 표시
PLEASE FIND THE ATTACHEMENT?
THANKS
댓글 수: 0
답변 (1개)
Walter Roberson
2018년 7월 18일
opt = detectImportOptions('WRAS-C.txt');
t = readtable('WRAS-C.txt', opt);
The detectImportOptions part needs R2016b or later.
For earlier releases, the best way depends upon which MATLAB release you are using.
댓글 수: 2
Walter Roberson
2018년 7월 18일
No it isn't.
>> !unzip -t WRAS-C.zip
Archive: WRAS-C.zip
testing: WRAS-C.txt OK
No errors detected in compressed data of WRAS-C.zip.
You have a .txt file not a .dat file.
But if what you really had is WRAS-C.dat then
filename = 'WRAS-C.dat';
opt = detectImportOptions(filename, 'filetype', 'text');
t = readtable(filename, opt);
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!