You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: edfFindTrialRecordingStart.m
    path of file: ./repos/brainstorm3/external/edfimport-1.0.4
    
    the code of the file until where you have to start completion: function [RecordingStartTime]= edfFindTrialRecordingStart(Events, TrialStartMarker)
%%  edfImport library v1.0 
%  Alexander Pastukhov 

    
function [RecordingStartTime]= edfFindTrialRecordingStart(Events, TrialStartMarker)
%%  edfImport library v1.0 
%  Alexander Pastukhov 
%  kobi.nat.uni-magdeburg.de/edfImport
%  email: pastukhov.alexander@gmail.com
%  
%  edfFindTrialRecordingStart
%  Returns an absolute time of the recording start ('!MORE RECORD' event) for each trial.
%  Note: if Events from more than one trial are passed, only the first one
%  is returned
%  Syntax:
%    [RecordingStartTime]= edfFindTrialRecordingStart(Events)
%  Input:
%    Events - array of FEVENT structures (see "Eyelink EDF Access API" for details)
%  Output:
%    RecordingStartTime - absolute time when recording started for each
%    trial

%% just in case there is some old that does not explicitely pass the marker
if (~exist('TrialStartMarker', 'var') || isempty(TrialStartMarker))
  TrialStartMarker= '!MODE RECORD';
end