Dear All,
It seems to be an easy question but has wasted my time for a couple of days! I have a 1×1 cell structure array that I would like to put data_path of two different files in it. I have two string matrices each containing one of these two files. I seem to not to be able to tell MATLAB to put both files in the same cell array, and I keep getting "subscripted assignment dimension mismatch". here is the example:
% for k=1:35 % cell.array.one.by.one(k)={firstFilePath(k,1) secondFilePath(k,2)}; %end
subscripted assignment dimension mismatch
Thanks in advance for your inputs!
Best Answer