Effacer les filtres
Effacer les filtres

Error only on my computer "Fread invalid size" why?

4 vues (au cours des 30 derniers jours)
Sunghun Hong
Sunghun Hong le 21 Sep 2018
Commenté : Walter Roberson le 21 Sep 2018
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 commentaires
Sunghun Hong
Sunghun Hong le 21 Sep 2018
Thanks for the advice. I have attached the codes but it might work on your computer.
Walter Roberson
Walter Roberson le 21 Sep 2018
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by