rows interval using textscan

4 ビュー (過去 30 日間)
sermet OGUTCU
sermet OGUTCU 2019 年 6 月 24 日
回答済み: Guillaume 2019 年 6 月 24 日
What is the equivalent of
xlsread('data.xlsx','B5:B10')
in the
textscan
?
  3 件のコメント
sermet OGUTCU
sermet OGUTCU 2019 年 6 月 24 日
Thank you Bob. Any alternative for textscan is available?
Himanshu Rai
Himanshu Rai 2019 年 6 月 24 日

サインインしてコメントする。

採用された回答

Guillaume
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 件)

カテゴリ

Help Center および File ExchangeText Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by