signature of values ​​when exporting to excel?

1 Ansicht (letzte 30 Tage)
Lev Mihailov
Lev Mihailov am 25 Nov. 2019
Beantwortet: Andrei Bobrov am 25 Nov. 2019
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by