Import data from CSV file by Import Tool or textscan
이전 댓글 표시
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
Image Analyst
2021년 11월 5일
Why do you want a blank line in your matrix? You can't have that in a double matrix. You can't have one row be blank (all nulls). Explain why you think you need this.
KSSV
2021년 11월 5일
Read about readtable to load csv file.
채택된 답변
추가 답변 (1개)
Sulaymon Eshkabilov
2021년 11월 5일
0 개 추천
Use readmatrix() that would import all numerical data in a matrix form.
카테고리
도움말 센터 및 File Exchange에서 Text Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!