How to create a list of netcdf files each with different name?

1 次查看(过去 30 天)
I have to create a long list of netcdf files each with a different name all in once. How can achieve that instead of doing for each file seperately?
  3 个评论
Lavnish Gupta
Lavnish Gupta 2018-6-11
I can't figure out to store characters for name of files. Instead of righting them by hand, how can make a loop to give them name automatically?

请先登录,再进行评论。

采纳的回答

KSSV
KSSV 2018-6-11
for i = 1:10
filename = ['myfile',num2str(i),'.nc']
end

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by