Parse binary record

I need to parse a binary record read (all at once consisting of many variables of different sizes) from a serial stream. Unfortunately fread can only read binary variables from a file or from the serial stream, but in the latter case much data are lost. This would be easy if the record were ASCII, but it's binary. Anyone see a way forward?

답변 (0개)

태그

질문:

2012년 4월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by