How to create multiple .dat files using matlab?
Show older comments
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 Comment
vigneshwaran K
on 23 Aug 2019
Answers (1)
KSSV
on 20 Aug 2019
for i = 1:10
filename = strcat(num2str(i),'.dat')
end
1 Comment
vigneshwaran K
on 23 Aug 2019
Categories
Find more on Standard File Formats in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!