Can I use dlmwrite and loop through file names to ouput?

1 view (last 30 days)
Hello,
I want to use dlmwrite and loop through several input and output file names. Is this possible? Here is my example:
dlmwrite('reno.xlsx',input_260507,'delimiter', '\t')
I need to change the out name each time (i.e. reno, austin, sacramento) and change 260507 each time to a different station number. I have the names and station numbers as separate variables.
Thanks, Dan

Answers (1)

Walter Roberson
Walter Roberson on 30 Mar 2011
Yes. Please see the FAQ on this topic.

Tags

Community Treasure Hunt

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

Start Hunting!