signature of values ​​when exporting to excel?

1 visualización (últimos 30 días)
Lev Mihailov
Lev Mihailov el 25 de Nov. de 2019
Respondida: Andrei Bobrov el 25 de Nov. de 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?

Respuesta aceptada

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

Más respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by