After import the function creates two struct variables that contain all the data in a nicely ordered way. For every column in the log file a field entry with the same name is created.
The output variables are either a vector of structs (one entry per line in the log file) or a struct that contains vectors in each field. This makes it easy and hopefully flexible enough for everyone to start the analysis using MATLAB.
Tobias Otto (2020). Import of log files created by Presentation (https://www.mathworks.com/matlabcentral/fileexchange/28793-import-of-log-files-created-by-presentation), MATLAB Central File Exchange. Retrieved .
thank you so much! saved me from a lot of trouble
Hi Alex, that's a good idea, thank you! Could you please provide me one of your log files in order to check my code before uploading it?
Hi, thanks for this! I suggest adding an option to choose separators, my log files were comma separated (rather than tab), this can be easily adapted by changing the "9"s (tabs) in lines 169/179 (separator definition) and line 190 ("remove tab") with "44"s.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!