How to create multiple .dat files using matlab?
Afficher commentaires plus anciens
Kindly assist me in creating multiple .dat files with the name of the variables in which the data file to be created.
Eg: For a=1:1:10, i need to create the dat file of .........._1.dat,........._2.dat, ......._3.dat, and upto ........_10.dat
Thank you in advance.
1 commentaire
vigneshwaran K
le 23 Août 2019
Réponses (1)
KSSV
le 20 Août 2019
for i = 1:10
filename = strcat(num2str(i),'.dat')
end
1 commentaire
vigneshwaran K
le 23 Août 2019
Catégories
En savoir plus sur Standard File Formats dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!