Parsing Binary Data File
This function parses binary data according to 'fields name' and 'fields format'
And create struct variable,name is 'data', that has same fields that you passed via argument.
And return 'data'.
This function is not general solution for parsing binary data.
This function is useful when you repeatedly record data in specific format.
For example, you record state of the robot for each sampling steps.
[time in double] [joint x6 in double] [velocity x6 in double]...
and you recorded it for 10000 sampling steps.
Now you can joyfully use this function.
Cite As
JaeJun Lee (2024). Parsing Binary Data File (https://www.mathworks.com/matlabcentral/fileexchange/48953-parsing-binary-data-file), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Low-Level File I/O >
- MATLAB > Language Fundamentals > Data Types > Characters and Strings > String Parsing >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.