My engine file is below. Note, test.asc is created but the strings FILELIST and OUTFILE are not written to it. Also, create_hourly.m works from within the MATLAB session using the following syntax,
create_hourly('filelist','test.mat');
where filelist is a text file with a list of matlab data files, e.g.
file1.mat
file2.mat
file3.mat
The function does not output anything to the MATLAB session. All variables are saved to test.mat using the save command from within the function.
Best Answer