how to use matlab to read data from '.bin' file which was produced by some equipment
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Star Strider
le 27 Juil 2014
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 commentaires
Plus de réponses (1)
Image Analyst
le 28 Juil 2014
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.
Voir également
Catégories
En savoir plus sur Text Files dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!