我有我试图从自动化,因为我有不少这些文件导入数据收集的特殊文件格式。该文件是一个文本标题的混合格式,随后的二进制数据。报头的内容如下“ASL 3.4 .rwb二进制文件包含500字节的标题,随后的数字的2D阵列的。这些数字是单精度的32位摩托罗拉(网络)字节顺序浮点该列标签是如下:......”有13列。
我似乎无法阅读下面的标题中的信息。我试图通过输入拿到第10行数据
>>数据=的fread(FILEID,[10,13],'单',500,'IEEE-是');
但文字并不以任何可能合理的意义一致。我试着改变,以抵消501和499,并没有显示出任何改善无论是。我在想什么?
3件のコメント
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/347407-how-to-read-binary-array-from-text-file#comment_466678
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/347407-how-to-read-binary-array-from-text-file#comment_466678
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/347407-how-to-read-binary-array-from-text-file#comment_828934
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/347407-how-to-read-binary-array-from-text-file#comment_828934
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/347407-how-to-read-binary-array-from-text-file#comment_828981
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/347407-how-to-read-binary-array-from-text-file#comment_828981
サインイン评论。