MATLAB: Signature of values ​​when exporting to excel

excelMATLABxlswrite

I export a 2×3 matrix to Excel, but I need to sign the values
filename = 'L:\DataABC\ABS.xlsx';
A=[2 3]
ABC(:,1) = A';
B=[4 5]
ABC(:,2) = B';
C=[6 7]
ABC(:,3) = C';
xlswrite(filename,ABS)
How to sign values?

Best Answer

A = A'; B = B'; C = C';
writetable(filename,table(A,B,C))