Use curly braces to access the contents of a cell array, and it is recommended to use char() instead of datestr() to convert a datetime to text.
starting_event_date = char(input_struc.event_date_time{ident(1)});
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!