How can I export .mat file to .xls file?

조회 수: 3 (최근 30일)
Sunipa Som
Sunipa Som 2024년 8월 5일
댓글: Sunipa Som 2024년 8월 6일
How can I export .mat file to .xls file? I am using xlswrite('filename.xls') but not working. I have 50x50 deta. Kindly help me.
  댓글 수: 3
Infinite_king
Infinite_king 2024년 8월 5일
You have to pass the matrix as input to 'xlswrite' function. For example - xlswrite(filename,matrix_name).
Sunipa Som
Sunipa Som 2024년 8월 6일
Thank you

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

답변 (1개)

Cris LaPierre
Cris LaPierre 2024년 8월 5일
편집: Cris LaPierre 2024년 8월 5일
I'd recommend using writematrix (homogenous data) or writetable (for table data type) after first loading the mat file variable to the MATLAB workspace (see load).
  댓글 수: 1
Star Strider
Star Strider 2024년 8월 5일
@Cris LaPierre@Sunipa Som has R2015a. The writematrix function was introduced in R2019a.

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

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

제품


릴리스

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by