Import data from CSV file by Import Tool or textscan
3 views (last 30 days)
Show older comments
I can import data from csv file by Import Tool(out type:string), and the tool could creat a script(textscan in it) to instead Import Tool. But, when I use Import Tool or script to import csv file, it lost blank line which in csv file. How to solve it? Thanks.
4 Comments
Accepted Answer
More Answers (1)
Sulaymon Eshkabilov
on 5 Nov 2021
Use readmatrix() that would import all numerical data in a matrix form.
See Also
Categories
Find more on Data Import and Export 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!