precision of a binary file or text file? "fread"
    6 次查看(过去 30 天)
  
       显示 更早的评论
    
Hi
I am using fopen/fread to read and store my files. I could read them with "importdata" but that was super slow. For using fread, I do not know the precision of the data. How can I know the precision? Attached is one of the files.
Thanks a lot, I have been working on it for two days and could not figure it out yet.
Zeinab
0 个评论
采纳的回答
  Jan
      
      
 2016-11-2
        This is an ASCII-file. Then the precision is not meaningful, because it matters binary files only. Do not use fread, but fscanf.
更多回答(1 个)
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Low-Level File I/O 的更多信息
			
	产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


