How to save output (Matrix) in excel files?

I am doing some operation on matrix and want to save my final matrix in excel file. what command shound i use.
Thank you!!

답변 (1개)

Arif Hoq
Arif Hoq 2022년 3월 15일
편집: Arif Hoq 2022년 3월 15일

0 개 추천

M: your Matrix
X=your excel file name
writematrix(M,'X.xls')

댓글 수: 4

you can use writetable function also
writetable(T,'myTable.txt')
Arif Hoq
Arif Hoq 2022년 3월 15일
편집: Arif Hoq 2022년 3월 24일
did my answer solve your problem ?
gourav pandey
gourav pandey 2022년 3월 24일
its, not working. matrix suppose to b of size 10x8 and im getting more than this...its look like, values are not at where it suppose to be.
do you have any idea? why this is happening
Arif Hoq
Arif Hoq 2022년 3월 24일
can you please attach your data and code ?

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

카테고리

도움말 센터File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2022년 3월 15일

댓글:

2022년 3월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by