Borrar filtros
Borrar filtros

Fread a ubyte file

2 visualizaciones (últimos 30 días)
Kris zenitis
Kris zenitis el 21 de Feb. de 2014
Comentada: Walter Roberson el 21 de Feb. de 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 comentario
Walter Roberson
Walter Roberson el 21 de Feb. de 2014
What does
dir('t10k-images-idx3-ubyte*')
show?
Have you checked to be sure you are in the correct directory?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Low-Level File I/O en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by