How to convert .txt file to .dat?
30 次查看(过去 30 天)
显示 更早的评论
I created a text file in matlab and wrote my data on it. Now I need to convert this text file to .dat. How should I do this?
3 个评论
回答(1 个)
Walter Roberson
2018-9-19
You can call movefile() if all you need is to change the file extension.
You can probably just change the code to open a .dat for writing instead of .txt but that depends on how the code creates the file.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!