How to dlmread with different format ?

조회 수: 1 (최근 30일)
RuiQi
RuiQi 2016년 12월 5일
편집: RuiQi 2016년 12월 5일
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에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by