How can i read a csv file
2 views (last 30 days)
Show older comments
How can i read a csv file. i used fopen but it gives a value of -1
A=fopen('slip.csv')
0 Comments
Accepted Answer
Walter Roberson
on 15 Oct 2012
csv files are text files, usually written in ASCII or ISO-8896-1 (which is compatible with ASCII).
4 Comments
More Answers (1)
Sachin Ganjare
on 16 Oct 2012
You can use 'csvread' function. Refer link below for further details:
Hope it helps!!!
0 Comments
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!