How can I read and import data from a .dat file in matlab?

2 次查看(过去 30 天)
I have a .dat file which contains one header row, and data of several rows. I tried import data as I used to do for .txt file, but in case of .dat file import data is not working. can anyone give a solution to it?
  6 个评论
Puspa patra
Puspa patra 2018-7-27
I first used Home==>Importdata==>numeric matrix==> importdata. the matrix I got is something like this. it should contain values as in original file instead of null.
Guillaume
Guillaume 2018-7-27
We need the original file, not the result of the failed import.
Have you tried readtable ?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Large Files and Big Data 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by