MATLAB Answers


What are the features of MATLAB fig-format?

Asked by Igor
on 29 Apr 2011
One can store MATLAB Figure (Editor) content as special *.fig (of course, we can export jpg-files and others). But what is fig-format. As I suppose, this is XML-like format, but in binary form. Isn't it? Who knows inner details?


Sign in to comment.


2 Answers

Answer by Andrew Newell
on 29 Apr 2011
 Accepted Answer

  1 Comment

Thank you very much

Sign in to comment.

Answer by Friedrich
on 29 Apr 2011

fig files are binary mat files. This can be obtained when you load a fig file as follows:
a = load('figename.fig','-mat')
If you want to know how an mat file is designed look here:

  1 Comment

That is:
fig-file is a kind of mat-file?
interesting result of this command in command line... I see the WorkSpace. And further -- how can I visualize this structure via command line?

Sign in to comment.