MATLAB: Do I receive the error message of “Unknown Parameter ‘DateTimeLocale’ ” while using ‘readtable’

countrydatelocaledatesdatetimelocalelocaleMATLABreadtabletext;us

I receive the following error message while trying to read the dates in the US-Format using 'readtable' function:
Error using readtable (line 198)
Unknown Parameter 'DateTimeLocale'.

Best Answer

The error message is due to the invalid parameter 'DateTimeLocale'.
In order to read the dates of a specific Locale and Country, the Name-Value pair 'DateLocale' can be used in the 'readtable' function.
Example: 'DateLocale','en_US' for United States format dates.
The following documentation provides more information on 'DateLocale' Name-Value pair:
 
Refer to the following documentation that provides a list of some common values of Locale:
NOTE: The Name-Value pair is only applicable for Text Files.