import data from .dat file
61 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I intend to read data from the .dat file. Here each data set is sperated by '&', so if I use below script, it just reads only the first eight rows. However, I need to read the entire data stored in the .dat file.
B=importdata('test.dat');
Output data = B.data;
4 commentaires
Réponse acceptée
Voss
le 31 Oct 2023
fn = unzip('test.zip')
T = readtable('test.dat','FileType','text','Delimiter','\t','MultipleDelimsAsOne',true)
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!