Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

reading a large binary file in MATLAB

2 Ansichten (letzte 30 Tage)
Ricky
Ricky am 5 Jul. 2013
Hello,
I have to read in a large Binary file whose size is 92,504 KB. When I am using fread command MATLAB is giving me error
Error using fread Out of memory. Type HELP MEMORY for your options.
I tried to restart MATLAB also so that if I am using any virtual memory it should be cleared but still the problem persists.
How can I solve this problem of reading data.
  8 Kommentare
Ricky
Ricky am 5 Jul. 2013
I am sorry for using the word urgent .

Antworten (1)

Walter Roberson
Walter Roberson am 5 Jul. 2013
fread(fid,'uint8') reads uint8 data and converts it to double. You should leave it as uint8 using fread(fid,'*uint8')

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by