how to import .csv file in Matlab having text in it??

2 views (last 30 days)
How we can import the .csv file on Matlab which also have text in it??.. I have tried it but it import the spreadsheet in matlab??? How can I use it?? what should I do?? I need to have data in the form of matrix after importing the .csv file in Matlab....
Plz explain the procedure...

Answers (1)

Iain
Iain on 21 Jun 2013
This is a cheat, that works:
[numbers text, everything] = xlsread('filename.csv');

Products

Community Treasure Hunt

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

Start Hunting!