Reading binary data from a .DAT file

2 次查看(过去 30 天)
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

采纳的回答

Image Analyst
Image Analyst 2014-10-22
Use fread().
  1 个评论
Ahmad Mustafa
Ahmad Mustafa 2014-10-22
Many thanks for your help. fread() works using some appropriate input Arguments.
Cheers

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by