Reading binary data from a .DAT file

2 views (last 30 days)
Hello,
I have a data from a Scope stored in the following format:
DataLogger,10000000,0.0000,10.0000E-12,500000,0.0000,4.0000E-3,0.0000,#71000000àì )$#',-)')*+)$$&# ÷ØÎÐÖÙÔÐÖæÿ! $)%üßÔÛÝÞãÞÝ÷'(!íÓÌÓàãÝÝäó%'&'$#% îÒÉÏÕÙÝÛÛÞßÜÛÛÚÖÒÔÕÐÌÐÓÔÕÕØÜÛÚÜÝÜÝÜÚÛÚ×ÕÓÒÕ×ÔÓÕÔÒÔÖÓÕÚÙÕÖÙÚØÖÕ××ØÚÙØÜì !*&$##&&#$$$(*'&)(&&&'&$%'#!%""&%$&('%$#$&(($#&%!!$$ øÙËÓÝÝ×ÖÝì &!!#!##!%(#!&)*-,+,+**(%%%" #"$'&'))()+*('))"úÙÌÖÝØÔ×ÙÖÔÖØ×ØÛÛÛßð #'&(**-/..-*(())(&$%'%#&% !$&& $)(($üàÑØáÞÚÛÞì
I know the first 6 lines are the headers. So I want to remove the header lines and convert rest of the binary data into some readable format. How can I do it?
Many thanks.
Ahmad

Accepted Answer

Image Analyst
Image Analyst on 22 Oct 2014
Use fread().
  1 Comment
Ahmad Mustafa
Ahmad Mustafa on 22 Oct 2014
Many thanks for your help. fread() works using some appropriate input Arguments.
Cheers

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!