Azzera filtri
Azzera filtri

saving data in .dat files

99 visualizzazioni (ultimi 30 giorni)
THONTI BEERAIAH
THONTI BEERAIAH il 10 Set 2020
Modificato: THONTI BEERAIAH il 12 Set 2020
In below code how to save the values of sr and sl in .dat file separately

Risposta accettata

Ameer Hamza
Ameer Hamza il 10 Set 2020
There is no specific format for a .dat file. You can use writematrix(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/writematrix.html or dlmwrite(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/dlmwrite.html in older versions.
For example,
writematrix(sr, 'filename.dat') % or dlmwrite('filename.dat', sr);

Più risposte (0)

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by