MATLAB Answers

How to create vectors from each column usin column names whn importing CSV format??

Asked by Clifford Shelton on 29 Mar 2013

I normally import .xls files and i am easily able to manage data in a program I have written. However, now I need to import CSV files instead of XLS files and things are slightly different.

The CSV file has both text and numerical information. If I drag and drop in the file (to import the file) how can I then create vectors for each column header?

That option to create the vectors is not available. Any help is appreciated

  1 Comment

try an show uis what the file looks like, at least the first few lines. Have you tried the import wizard?

Log in to comment.


No products are associated with this question.

0 Answers

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!