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

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...

回答 (1 件)

Iain
Iain 2013 年 6 月 21 日

1 投票

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

製品

質問済み:

2013 年 6 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by