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

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

답변 (1개)

Walter Roberson
Walter Roberson 2011년 3월 30일

0 개 추천

Yes. Please see the FAQ on this topic.

태그

질문:

Dan
2011년 3월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by