MATLAB Answers

Reading Columns with dlmread

11 views (last 30 days)
Omer Yasin Birey
Omer Yasin Birey on 8 Jan 2019
Commented: madhan ravi on 8 Jan 2019
Hi all,
I want to read third column of a csvfile. In the page of dlmread, it is quite confusing. I didn't understand how to use range option in dlmread.
Thanks in advance

  1 Comment

madhan ravi
madhan ravi on 8 Jan 2019
why not try with xlsread()?

Sign in to comment.

Answers (1)

Bob Nbob
Bob Nbob on 8 Jan 2019
I advise reading the entire file with csvread(), and then extracting the column from the data within matlab. It is generally very difficult to read only a single column from a file.

  0 Comments

Sign in to comment.

Sign in to answer this question.