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!
0 个评论
回答(1 个)
madhan ravi
2018-11-14
dlmwrite('sample.txt',[a,b,c],'delimiter','\t') %a,b and c are variables
4 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!