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.

25 次查看(过去 30 天)
Attachment is the file Iam trying to import

采纳的回答

Walter Roberson
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 CenterFile Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息

标签

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by