.MAT to .DAT

5 ビュー (過去 30 日間)
Meh
Meh 2012 年 3 月 13 日
I have a prepared a matlab mat file and i want to export it to a text .dat file. The .dat file has to be SPACE-DELIMITED. What is the best way to do this. Thanx!

回答 (1 件)

Wayne King
Wayne King 2012 年 3 月 13 日
Does the .mat file have only numeric data?
You can use dlmwrite with the 'delimiter','\t' option to tab delimit the data. See the help for dlmwrite
You can also just try using save with the -ascii option

カテゴリ

Help Center および File ExchangeText Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by