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