Hello. I was wondering for saving images or writing xls files if there was a way to add additional wording in the title for dynamic names. For example I have:
b = csvread(source_files(j).name);savecsv= source_files(j).name;
And when writing an image/csv I can get it to reproduce whatever the file is named after the run, but I want to add to the end of the file name so for example
b = csvread(source_files(j).name); savecsv= source_files(j).name;biggarr=[date minmaxmean];[status,message] = xlswrite(savecsv,biggarr);
Will give me Antelope Lake.xls for the first run. Is there a way to make it so that when I save different arrays of information I have different names. For example:
Run 1: Antelope Lakemaxtemp.xls Antelope Lakemintemp.xls
Run 2: Ruby Lakemaxtemp.xls Ruby Lakemintemp.xls
I basically just want to add on to the dynamically changing file name so that I have different files for specific variable/arrays. Thanks!
Best Answer