Is there a list of datastore SelectedFormats?

조회 수: 3 (최근 30일)
Michael
Michael 2019년 8월 29일
댓글: Michael 2019년 8월 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

채택된 답변

Peter Perkins
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
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 CenterFile Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by