Is there a list of datastore SelectedFormats?
5 次查看(过去 30 天)
显示 更早的评论
Hello,
I was not able to find a comprehensive list of Selected formats in the docs.
%q = string
%C = categorical
%f = floating
%d = integer
Are there others? Is there a format for datetimes?
Thanks,
Michael
0 个评论
采纳的回答
Peter Perkins
2019-8-30
Somewhat buried in the tabularTextDatastore doc: "You can use the same conversion specifiers that the textscan function accepts". So %D, or %{fmt}D should work.
更多回答(1 个)
Nimit Dhulekar
2019-8-30
Hi Michael,
The SelectedFormats property of TabularTextDatastore accepts all formats that are accepted by textscan. You can see this note in the documentation for the TextscanFormats property, which is a superset of the SelectedFormats.
-Nimit
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!