MATLAB reading in figure matrices

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
Klandhee
Messages
7
Reaction score
0
Hi, I have a bunch of images saved as .fig and I need to obtain the data in these files. I tried something as simple as
image1 = imread('figure1.fig');
but it does not recognize the format. If anyone could help me out that would be greatly appreciated, thanks!
 
Physics news on Phys.org
imread won't work because a .fig is not exactly an image file.Try:

"open('figure1.fig')"

That will load up the entire image. I don't know if it's possible to get the original data used to plot the graphs though.