MATLAB: Rename Excel column heading to MATLAB

excelMATLABrename

Hello everybody question is in the heading

Best Answer

data = readtable('<your xlsx file name>'); % read your file as table
data.Properties.VariableNames = {'Var1', 'Var2', ..... so on as your data and required column names}
writetable(data, '<your xlsx file name>') % write back modified data to excel file
Related Question