How to create multiple .dat files using matlab?
Ältere Kommentare anzeigen
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 Kommentar
vigneshwaran K
am 23 Aug. 2019
Antworten (1)
KSSV
am 20 Aug. 2019
for i = 1:10
filename = strcat(num2str(i),'.dat')
end
1 Kommentar
vigneshwaran K
am 23 Aug. 2019
Kategorien
Mehr zu Standard File Formats finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!