How do I save data to a file in Matlab?

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

回答(1 个)

madhan ravi
madhan ravi 2018-11-14
dlmwrite('sample.txt',[a,b,c],'delimiter','\t') %a,b and c are variables
  4 个评论
Alexandria Will-Cole
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by