How can I read a .bit file which contains records of 16 Bytes each?
Show older comments
I am trying to read a .bit file and what I get are 8-bit numbers. The wanted output is records, each of them contains 4 32-bit numbers.
Answers (1)
dpb
on 19 Jul 2014
dat=fread(fid,[4,inf],'int32').';
should do it.
doc fread
for the gory details.
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!