MATLAB Answers

Parse binary record

2 views (last 30 days)
Noel on 24 Apr 2012
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?


Sign in to comment.

Answers (0)

Sign in to answer this question.