signature of values ​​when exporting to excel?

1 view (last 30 days)
I export a 2x3 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?

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 25 Nov 2019
A = A'; B = B'; C = C';
writetable(filename,table(A,B,C))

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!