Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:

Subject: fread

From: M K

Date: 15 Jan, 2010 11:05:20

Message: 1 of 2

I have a large binary file named 'file1' with data.

How can I use fread to extract the data - especially I want to find the dimensions of the data.

Please help

fread(fid, 'file1')

Subject: fread

From: ImageAnalyst

Date: 15 Jan, 2010 11:48:06

Message: 2 of 2

That's really difficult, even if you know something about the data,
such as it's a rectangular image of some unknown dimensions. Do you
know anything at all about the format of what was written out? If not
I'd try to figure that out (like ask the person who created the file)
than try to discern it from the data alone.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us