rows interval using textscan
조회 수: 1 (최근 30일)
이전 댓글 표시
What is the equivalent of
xlsread('data.xlsx','B5:B10')
in the
textscan
?
댓글 수: 3
채택된 답변
Guillaume
2019년 6월 24일
The intent of the question is a bit unclear since textscan cannot parse excel files. If the intent is to parse a csv file, then both dlmread and csvread (which calls dlmread) accept a range.
In any case, it is very likely that parsing the text file would be a lot easier with readtable or readmatrix. The latter requires R2019a.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Text Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!