How do I save data to a file in Matlab?

1 回表示 (過去 30 日間)
Alexandria Will-Cole
Alexandria Will-Cole 2018 年 11 月 14 日
コメント済み: madhan ravi 2018 年 11 月 14 日
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
Alexandria Will-Cole 2018 年 11 月 14 日
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?
madhan ravi
madhan ravi 2018 年 11 月 14 日

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by