Hi Daphne,
You can follow the steps mentioned below to perform your intended tasks:
- Use the "readtable" MATLAB Function to read the data from your event catalog file.
- To store the time data you can use the "Dates and Time" data types.
- You can leverage the utility functions to find the time difference from the origin time.
- To write the data into a file you can use the "writetable" MATLAB Function.
You can refer to the following documentation links to learn more: