Info

This question is closed. Reopen it to edit or answer.

i want to read rows having diffrent no of columns from txt file

1 view (last 30 days)
how i can read diffrent no of rows having diffrent no of columns from text file kindly suggest me
  1 Comment
dpb
dpb on 18 Oct 2014
Any pattern at all? If not, fgetl a line at a time and parse(+); if so, use that a priori knowledge with textscan
(+) Or, perhaps faster, read the whole file into memory and do the parsing there.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!