There are many questions on topics of text files and cell arrays but none is related to the problem that I am facing. I have a text file with numeric data like this:
1,2,3,4,5
6,7,8
9,10,11,12,13,14,15
I want this text to be put into a cell array with dimensions
[1X5]
[1X3]
[1X7]
I have tried csvread but it makes a matrix and all void elements are set to 0, which is not what I want. I'd be thankful for some help, please.