Export variable/signal

1 次查看(过去 30 天)
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?

采纳的回答

Ameer Hamza
Ameer Hamza 2020-6-5
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)

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by