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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rachita Sarangi
am 18 Nov. 2022
Kommentiert: Rachita Sarangi
am 18 Nov. 2022
Attachment is the file Iam trying to import
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 18 Nov. 2022
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Fuzzy Logic in Simulink finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!