the data exported to Matlab format contains all samples within the pre-trigger period. That is perfect. However, there is no information about the "time 0" displayed in the Logic UI.
I know that this time directly correlates to the "Pre-trigger buffer size" settings. When analyzing exported files, there is no way to figure out what this buffer size was set to.
It would be nice to just have an additional item "pretrigger_time" provided along with the data.
Anyhow, nice work!