How to dlmread with different format ?

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

 采纳的回答

readtable() the file.

2 个评论

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by