Finding number of row of CSV file

5 views (last 30 days)
Hi, I want to make a decision based on the number of the row of CSV file. How can I find number of row? Is there any specific function? simply what I want to do is read a csv file, count number of rows and then if it is less than 10, I want to delete that csv
Thanks

Accepted Answer

roozbeh yousefnejad
roozbeh yousefnejad on 4 Jun 2018
I used the length function and it worked. Thanks everyone! it is solved

More Answers (1)

srinivasan Mohan
srinivasan Mohan on 13 Jul 2019
Hi,
can you please show me how you did that?

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!