how to save matlab output data in excel?

6 visualizaciones (últimos 30 días)
majid
majid el 6 de Abr. de 2024
Comentada: Voss el 6 de Abr. de 2024
Hello!
i have 4*100000 output data and want to save it in excel, I tried the below codes but I encounter the below error message:
writematrix(Received_Signal,'ExampleMatlab.xlsx')
and
Data_export = [Received_Signal];
writematrix(Data_export,'ExampleMatlab.xlsx');
and
xlswrite('Data_export.xlsx', Received_Signal);
error message:
Error using writematrix (line 206):
The data block starting at cell 'A1' exceeds the sheet boundaries by 0 row(s) and 83616 column(s).
Is there anyway to solve this problem?

Respuesta aceptada

Voss
Voss el 6 de Abr. de 2024

Write the transpose of the matrix (so you'll have 100000 rows and 4 columns):

writematrix(Received_Signal.','ExampleMatlab.xlsx') 
  2 comentarios
majid
majid el 6 de Abr. de 2024
thank you.
Voss
Voss el 6 de Abr. de 2024
You're welcome!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by