how to use matlab to read data from '.bin' file which was produced by some equipment
조회 수: 1 (최근 30일)
이전 댓글 표시
I have an equipment---X which can be drived by computer to detect some electrical signal and give computer some data to draw a picture according to a " .bin" file as below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166283/image.gif)
when I hit the red circle on the picture--"A", I will get a table as below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166286/image.gif)
Now I want to get the data in the table by matlab, shall I? how?
Thank you!
댓글 수: 0
채택된 답변
Star Strider
2014년 7월 27일
My Internet search for information on the ‘CHI1040C’ came up empty, so I don’t know what sort of files it can write. I would write them to CSV or some other common spreadsheet format file if possible, then use MATLAB’s textscan function to read them.
댓글 수: 10
추가 답변 (1개)
Image Analyst
2014년 7월 28일
See if there's an "Export..." item under the file menu and write it out to some standard format. If not, ask the publisher for the format of the bin file. Ask them for a MATLAB reader - they may even have a MATLAB reader for it if you're lucky.
참고 항목
카테고리
Help Center 및 File Exchange에서 Text Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!