How to dlmread with different format ?

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

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 5 Dez. 2016

1 Stimme

readtable() the file.

2 Kommentare

Walter Roberson
Walter Roberson am 5 Dez. 2016
Or, use num2cell on each numeric column, and horzcat() those together with the string columns
RuiQi
RuiQi am 5 Dez. 2016
Bearbeitet: RuiQi am 5 Dez. 2016
Cool ! readtable() is an awesome function ! Super easy to convert to cell

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Gefragt:

am 5 Dez. 2016

Bearbeitet:

am 5 Dez. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by