How to load a .dat file?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to load a .dat file? I saved the Oscilloscope(waverunner 610zi) Please refer to the attached file and let me know.
3 commentaires
Réponse acceptée
Ameer Hamza
le 6 Mai 2018
Modifié(e) : Ameer Hamza
le 6 Mai 2018
You can import the file easily by import tool
uiimport
but if you want to import it programatically, do it like this
f = fopen('M1--L10-22 TR SW--00000.dat');
data = textscan(f, '%f %f');
data = cell2mat(data); % convert to matrix from cell array
fclose(f)
5 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Large Files and Big Data 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!