Filter löschen
Filter löschen

How do I save data to a file in Matlab?

2 Ansichten (letzte 30 Tage)
Alexandria Will-Cole
Alexandria Will-Cole am 14 Nov. 2018
Kommentiert: madhan ravi am 14 Nov. 2018
I have three different variables that are 400x1 doubles and I would like to save this data in one file that is delimited by a tab. Please help! Thanks!

Antworten (1)

madhan ravi
madhan ravi am 14 Nov. 2018
dlmwrite('sample.txt',[a,b,c],'delimiter','\t') %a,b and c are variables
  4 Kommentare
Alexandria Will-Cole
Alexandria Will-Cole am 14 Nov. 2018
I am looping through multiple data files processing and attempting to save the data into new data files, so that is why it is in a loop. Any advice?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by