Trouble opening a .dat file

I'm trying to open a .dat file and tried solutions previously posted.
This solution at least recognized 6 columns and 112 lines, but the output is gibberish
filename = 'CH01.dat';
opt = detectImportOptions(filename, 'filetype', 'text');
t = readtable(filename, opt);
By gibberish, I mean like this:
Z�@ ���S`@33333�@z �\���K�@ �@ 4@ Z�@ ���S
I can't attach the file because the format is not supported.

1 件のコメント

Stephen23
Stephen23 2019 年 5 月 31 日
"I can't attach the file because the format is not supported."
Either change the file extension to .txt or zip it up, then upload it.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Import and Analysis についてさらに検索

タグ

質問済み:

2019 年 5 月 31 日

コメント済み:

2019 年 5 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by