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

3 Ansichten (letzte 30 Tage)
Sunipa Som
Sunipa Som am 5 Aug. 2024
Kommentiert: Sunipa Som am 6 Aug. 2024
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 Kommentare
Infinite_king
Infinite_king am 5 Aug. 2024
You have to pass the matrix as input to 'xlswrite' function. For example - xlswrite(filename,matrix_name).
Sunipa Som
Sunipa Som am 6 Aug. 2024
Thank you

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Cris LaPierre
Cris LaPierre am 5 Aug. 2024
Bearbeitet: Cris LaPierre am 5 Aug. 2024
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 Kommentar
Star Strider
Star Strider am 5 Aug. 2024
@Cris LaPierre@Sunipa Som has R2015a. The writematrix function was introduced in R2019a.

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by