フィルターのクリア

Is there a list of datastore SelectedFormats?

1 回表示 (過去 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 件のコメント
Michael
Michael 2019 年 8 月 30 日
Thank you.

サインインしてコメントする。

その他の回答 (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
  1 件のコメント
Michael
Michael 2019 年 8 月 30 日
Thank you

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLarge 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