How do I import first two columns using csvread over a specific range without knowing the total number of rows?
Mostra commenti meno recenti
I'm trying to use csvread for a specific range of the file, but the number of rows in the csv file changes for every file. Here's some code to help you understand what I want to do: csvread('03.csv',0,0,[0,0,:,1])
The goal is to read the first 2 columns in their entirety without knowing the total number of rows. The colon does not work, neither does leaving it blank (i.e., [0,0,,1]). Is there another way to tell it to read until there is no more data?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!