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!