Is there a list of datastore SelectedFormats?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Michael
am 29 Aug. 2019
Kommentiert: Michael
am 30 Aug. 2019
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 Kommentare
Akzeptierte Antwort
Peter Perkins
am 30 Aug. 2019
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.
Weitere Antworten (1)
Nimit Dhulekar
am 30 Aug. 2019
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
Siehe auch
Kategorien
Mehr zu Large Files and Big Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!