Importing .dat file into MATLAB

9 次查看(过去 30 天)
xj shang
xj shang 2021-11-26
评论: xj shang 2021-11-26
I'm trying to import a .dat file (can be downloaded from here) into MATLAB. Currently, i skim a Python code for this purpose in this web site, but I do not have a working knowledge in python. So I would hope there is some way to get rid of this question with MATLAB.
I need your help.
Thank you.

回答(1 个)

Jan
Jan 2021-11-26
Searching for more information on the given page I've found:
Note: See the PDS JADE SIS Document for more details on the formats.
Remember, that .dat is not a specific format, but just a string for the file extension. Then .dat means a generic non-standard format. This makes is rather unlikely that a reader in this forum can offer the needed tool for importing the file. Then there are two ways to go:
  1. Either install python and call it from Matlab.
  2. Find the "PDS JADE SIS Document" with the exact definition of the format (this is your turn, not the one of the readers in the forum). If the format is trivial, some fread commands will solve the problem. It is is complicated, some more work is required. In case of trouble you could hire a programmer.
  1 个评论
xj shang
xj shang 2021-11-26
Hi Jan, thanks for your suggestion. It's time for me to begin to learn Python.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by