I'm able to iterate through a given folder and display the names of all files. However, I want to save the names so did I can do work on each file. For example,
function fn = filnamn(katalog)
fn = dir(katalog);
for k = 1:numel(fn)
After each iteration how would I "append" each file so did I can access them afterwards?