The csv file contains non-numeric values also, but I need a numeric column to read out.

 채택된 답변

Brendan Hamm
Brendan Hamm 2015년 4월 17일

1 개 추천

csvread only reads in numeric data, so if you do have non-numeric data you can use xlsread on the csv file. There are other lower level options such as textcan which will allow you to specify the format of the data.
If I understand your question properly the data is numeric, but you want the literal string representation of these values? If this is the case consider num2cell.
Here are some useful links:

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

질문:

2015년 4월 17일

답변:

2015년 4월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by