Export variable/signal

6 visualizaciones (últimos 30 días)
Khaled Mahmoud
Khaled Mahmoud el 5 de Jun. de 2020
Respondida: Ameer Hamza el 5 de Jun. de 2020
Hello,
I have generated a signal/variable (length=512*128) and would like to export this variable as text or c with the same format "rows and columns". Any suggestions, please?

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 5 de Jun. de 2020
Use writematrix() in R2019a and later
writematrix(M, 'filename.txt') % M is matrix name
for older versions, you can use dlmwrite()
dlmwrite('filename.txt', M)

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by