I am importing 25 CSV files, each csv file is imported into a table, and then the table is vertically concatenated using vertcat(). This works fine in Matlab2020b, but when I run this on Matlab2015b, I get this error, here is my code as well
rpll=cell(1,data.numberofselected); %Table of all selected csv's ordered by run number aescending
x=cell(1, numel(dir(file_location))); for i=1:data.numberofselected concatenated=strcat(strcat(strcat(file_location,'RUN'),int2str(data.selected_runs(i))),'.csv'); x{i}=readtable(concatenated); enddisp(x)rpll=vertcat(x{:}); %ERROR BEGINS HERE
All tables in the bracketed expression must have the same variable names.
Best Answer