Importing .bin files to matlab using binary header information.
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have large .bin files (10GB 60GB) that I want to import to MATLAB; each binary file represents the output of two sensors, thus there are too columns of data. Here is more manageable sized example of my data:
You will notice that there is a .txt version of the data; I need to upload the .bin files directly to MATLAB, I can't use the .txt version because it takes hours to convert with larger files.
The problem I have is that the .bin file has header information that I cant seem to interpret properly, and thus I cannot extract the data in MATLAB every time I try I seem to get gibberish values.
This is all the information I have about the binary header:
http://forums.ni.com/t5/LabVIEW/Loading-Labview-Binary-Data-into-Matlab/td-p/1107587 http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/747b83b6c8e4a6218625669100563b61?OpenDocument
Any help/advice would be much appreciated I have been trying to solve this problem for days now :-/
Cheers,
Jim
PS someone had already written a function to solve this problem but it does not seem to work with my binary data: http://www.mathworks.co.uk/matlabcentral/fileexchange/27195-load-labview-binary-data
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur LabVIEW dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!