How to dlmread with different format ?

How to dlmread with different format ? Like my text file has string and int etc

 採用された回答

Walter Roberson
Walter Roberson 2016 年 12 月 5 日

1 投票

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 件)

タグ

質問済み:

2016 年 12 月 5 日

編集済み:

2016 年 12 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by