フィルターのクリア

How to dlmread with different format ?

1 回表示 (過去 30 日間)
RuiQi
RuiQi 2016 年 12 月 5 日
編集済み: RuiQi 2016 年 12 月 5 日
How to dlmread with different format ? Like my text file has string and int etc

採用された回答

Walter Roberson
Walter Roberson 2016 年 12 月 5 日
readtable() the file.
  2 件のコメント
Walter Roberson
Walter Roberson 2016 年 12 月 5 日
Or, use num2cell on each numeric column, and horzcat() those together with the string columns
RuiQi
RuiQi 2016 年 12 月 5 日
編集済み: RuiQi 2016 年 12 月 5 日
Cool ! readtable() is an awesome function ! Super easy to convert to cell

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by