fileext — returns extension for a file path
extension = fileext(fullpath)
a character string, the given file path
a character string, the extension part is any or ''
extension=fileext(fullpath)
splits the fullpath character string in the extension part including the dot.