Fread a ubyte file

3 vues (au cours des 30 derniers jours)
Kris zenitis
Kris zenitis le 21 Fév 2014
Commenté : Walter Roberson le 21 Fév 2014
I am trying to fread a file with the following command:
f = fopen('t10k-images-idx3-ubyte','r');
[a,count] = fread(f,4,'int32');
However, I am receiving Invalid file identifier. Use fopen to generate a valid file identifier. What exactly this mean?
  1 commentaire
Walter Roberson
Walter Roberson le 21 Fév 2014
What does
dir('t10k-images-idx3-ubyte*')
show?
Have you checked to be sure you are in the correct directory?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by