regexprep(YourCell, '/.*$','')
If you have a recent enough matlab then duration() can convert the character vectors. With older matlab you would want to split into components and convert them into numeric and duration() those; or you could datetime() and then subtract off the beginning of the day to convert to duration