How to plot data from a binary .FLD file.

3 次查看(过去 30 天)
I'm working with data in a .FLD file, which I believe is binary. I need to input the file into Matlab and use it to create a graph that we can zoom in to certain points and look at the data closer (the files are huge...).
I haven't used Matlab since college, so I'm pretty rusty, but I don't think we imported binary files into Matlab for any class projects or homework assignments. When I input the files, I just got a bunch of letters--not sure how/if I can translate that jibberish into values...
Might be a super simple solution--I'm hoping it is! Thanks for any help!

回答(2 个)

José-Luis
José-Luis 2013-5-2
编辑:José-Luis 2013-5-6
All files are binary. Text files are easily understandable by humans after your favorite text editor transforms the ones and zeros into characters for your viewing pleasure.
You need to know how your binary data is organized, in order to easily read it. For that you could either look for a white paper, ask the person who generated the file, or look at the code of the program that generated the file.
Otherwise you are just shooting in the dark and the chances of correctly reading the file are slim.
  4 个评论
Kami
Kami 2013-5-2
It's a data file created by a Yokogawa oscilloscope.

请先登录,再进行评论。


Alan
Alan 2013-8-1
The following link provides a short description of the contents of the file, which in theory, you could use to make a program to read it into MATLAB. Alternately, the same page provides a link to an Excel Spreadsheet Macro that will allow you to import it into Excel. You can then save as an excel or csv file which you can import into MATLAB.
Note: I have not personally tried the Macro, and I don't know if the macro accounts for the row limit in Excel - that is, if it:
1. Crashes on large files
2. Cuts off the data when it reaches the last row, or
3. Creates additional sheets if needed

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by