Why do I receive the error message of "Unknown Parameter 'DateTimeLocale' " while using 'readtable'?

2 ビュー (過去 30 日間)
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'.

採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 1 月 25 日
編集済み: MathWorks Support Team 2025 年 1 月 31 日
The error message is due to the invalid parameter 'DateTimeLocale'.
To read the dates of a specific Locale and Country, you can use the Name-Value pair 'DateLocale' in the 'readtable' function.
Example: Use 'DateLocale','en_US' for United States format dates.
For more information on the 'DateLocale' Name-Value pair, execute the following command in the MATLAB R2020a command window:
>> web(fullfile(docroot, 'matlab/ref/readtable.html'))
To refer to a list of some common values of Locale, use the following command in the MATLAB R2020a command window:
>> web(fullfile(docroot, 'matlab/ref/datetime.html'))
NOTE: The Name-Value pair is only applicable for Text Files.
Please follow the link below to search for the required information regarding the current release:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCalendar についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by