I am having following code:
Source_files = [specified directory]len = length(Source_files);for j = 1 : len [status,sheets] = xlsfinfo(Source_files) sheetIndex = find(strncmp(sheets, '#', 1));end
sheetIndex variable's value gets overwritten on every iteration. I want to have a variable wanted_sheets constituting names of all the sheets starting with '#' from all the files.
Best Answer