when i try loading .dat file it gives the following error Input must be a MAT-file or an ASCII file containing numeric data with same number of columns in each row.
조회 수: 14 (최근 30일)
이전 댓글 표시
Attachment is the file Iam trying to import
댓글 수: 0
채택된 답변
Walter Roberson
2022년 11월 18일
Line 50002 onward in the file has no initial coordinate, such as
,2.00E-17,7.80E-08
Try
T = rmmissing(readmatrix('duty.dat'));
which will discard those lines.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!