rows interval using textscan
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sermet OGUTCU
le 24 Juin 2019
Réponse apportée : Guillaume
le 24 Juin 2019
What is the equivalent of
xlsread('data.xlsx','B5:B10')
in the
textscan
?
Réponse acceptée
Guillaume
le 24 Juin 2019
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Text Files dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!