Hello ,
Thanks in advance. Working with 2016b.
i have an array for eg, A = [1, 2, 3 ,4;
6,7,8,4];
i need to save this array to four different columns like the first column of A, in this case (1 and 6) to column J in excel , (2 and 7) to column S in excel.etc
Any help would be appreciated

답변 (1개)

KSSV
KSSV 2021년 5월 4일

0 개 추천

writetable(A,'test.xlsx')

댓글 수: 2

EmirBeg
EmirBeg 2021년 5월 4일
Should use writematrix instead i think. Writetable doesn't write matrices of type double.
Nikhil Baby
Nikhil Baby 2021년 5월 4일
But how do i write it to specific columns in excel

댓글을 달려면 로그인하십시오.

제품

질문:

2021년 5월 4일

댓글:

2021년 5월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by