Export variable/signal

조회 수: 1 (최근 30일)
Khaled Mahmoud
Khaled Mahmoud 2020년 6월 5일
답변: Ameer Hamza 2020년 6월 5일
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개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by