Hi Francois
Thank you for your reply!
I explored the file by means of the ghdf5read function and I noticed that the trigger codes are not in the field typeID (datastruct.AsynchronData.TypeID) but in the field Value (datastruct.AsynchronData.Value), and they are correct.
Here the code I used:
DataFile='C:\Users\user\Downloads\RecordSession_HCT_P2F2023.02.13_23.16.49.hdf5'
datastruct = ghdf5read(DataFile);
trigger_time= datastruct.AsynchronData.Time;
trigger_ID=datastruct.AsynchronData.TypeID;
trigger_value=datastruct.AsynchronData.Value
trigger_value =
1×12 int32 row vector
11 12 31 32 61 62 101 102 41 42 21 22