I have the below code:
for p = 1:numel(C) filename = C{p}{1,2}; if ~isempty(filename{:}) sprintf('%s.xlsx',filename{:}) writetable(C{p},sprintf('%s.xlsx',filename{:})) endend
I want to save all excel files generated in this code to "E:\AZAR\xlsx files 1989-2018" instead of the current folder. does anyone have an idea for how to do it?
Thank you all.
Best Answer