필터 지우기
필터 지우기

Fread a ubyte file

조회 수: 2 (최근 30일)
Kris zenitis
Kris zenitis 2014년 2월 21일
댓글: Walter Roberson 2014년 2월 21일
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
Walter Roberson
Walter Roberson 2014년 2월 21일
What does
dir('t10k-images-idx3-ubyte*')
show?
Have you checked to be sure you are in the correct directory?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Low-Level File I/O에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by