Error only on my computer "Fread invalid size" why?
古いコメントを表示
I wrote a code to open bin files by using the pre-given function file. However, this given code doesn't work on my computer but works at others. The error massage is "Error using fread Invalid size". I have tried at 2018a and 2018b but both got an error. I have attached codes I used. catman_read_5r8.m is the given code and I simply wrote the code readbin.m which works at other computers but not for me.
3 件のコメント
Image Analyst
2018 年 9 月 21 日
Because you have a bug in your code, and you have not read this link, and you have not shared your code or data file for us to look at. So . . . there's not much more I can say until you fix your post to let us help you.
Sunghun Hong
2018 年 9 月 21 日
Walter Roberson
2018 年 9 月 21 日
Which line of code is the problem showing up on? What parameters are being passed to fread() on that call? Check to be sure that the parameters are exact integers.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!