HOW TO OPEN .DAT FILE?

2 Ansichten (letzte 30 Tage)
Vishnu Dhakad
Vishnu Dhakad am 18 Jul. 2018
Kommentiert: Walter Roberson am 18 Jul. 2018
PLEASE FIND THE ATTACHEMENT?
THANKS

Antworten (1)

Walter Roberson
Walter Roberson am 18 Jul. 2018
opt = detectImportOptions('WRAS-C.txt');
t = readtable('WRAS-C.txt', opt);
The detectImportOptions part needs R2016b or later.
For earlier releases, the best way depends upon which MATLAB release you are using.
  2 Kommentare
Vishnu Dhakad
Vishnu Dhakad am 18 Jul. 2018
THANK YOU,,,,,
BUT MY FILE IS IN .DAT FORMATE.
Walter Roberson
Walter Roberson am 18 Jul. 2018
No it isn't.
>> !unzip -t WRAS-C.zip
Archive: WRAS-C.zip
testing: WRAS-C.txt OK
No errors detected in compressed data of WRAS-C.zip.
You have a .txt file not a .dat file.
But if what you really had is WRAS-C.dat then
filename = 'WRAS-C.dat';
opt = detectImportOptions(filename, 'filetype', 'text');
t = readtable(filename, opt);

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by