Why do I receive the error message of "Unknown Parameter 'DateTimeLocale' " while using 'readtable'?
2 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2020 年 6 月 16 日
編集済み: MathWorks Support Team
2025 年 1 月 31 日
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
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Calendar についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!