I have multiple txt files in a folder, and I wrote a code to process a single file:
function output = do(input)
filename = ('c:\.....');
fileID = fopen(filename);
output single output
What is needed so that MATLAB processes all the files in the folder, and output all output into a single column matrix?