I'm reading in a file(line by line), and returning it as a <1x175 cell>. It's a big file with big computations so I split it into pieces. I understand preallocating will speed up my code, so I made an array to store my data from the file.
warning('off','MATLAB:NonScalarInput');
dataInput = cell(NumOfPartitions,(1:175));
I've made this work in the past without the Warning: Input arguments must be scalar. but I've forgoten how I did it... This seems to work but I feel like it may not be wise. Here's what it looks like;
dataInput <8,1 cell> =
<1x175 cell> *<1x175 cell>* ... <1x175 cell>
So if i dataInput(2) it will return the second <1x175 cell>