How to dlmread with different format ?

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by