フィルターのクリア

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 Center および File ExchangeLow-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