import .data file

9 views (last 30 days)
Day Hong Kim
Day Hong Kim on 16 May 2021
Commented: Day Hong Kim on 16 May 2021
Hello all. I am trying to find a way to import data from .data file. Is there a function that imports .data file or should I convert .data file to something else?

Accepted Answer

Jan
Jan on 16 May 2021
Remember, that ".data" is a part of the file name, which can be choosen freely. It does not tell anything about the internal format. There is not general rule how ".data" files have to look like, if they are text or binary files. Therefore it is impossible to guess, how the files have to be imported.
Ask the person, who have created these files. Posting asmall example of the contents might be useful also.
  4 Comments
Jan
Jan on 16 May 2021
You want to import a file called "XYZ.data". We cannot know, how these files look like. Instead of howing us its contents, you mention another "metadata" file. The relation between the "metadata" and the "data" file is not clear. The readers cannot guess, how the file formats are defined.
Find the required information in the dodumentation of the software, which creates these files, or ask the authors of this software.
Day Hong Kim
Day Hong Kim on 16 May 2021
I guess the metadata file is just supplementary information of the t2m.data file. I think I just have to ask the author of the file. Thank you for the comments.

Sign in to comment.

More Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!