Open figure saved in FIG-file
openfig(
opens
the figure saved in the MATLAB® figure file (FIG-file) called filename
)filename
.
openfig(
specifies
whether to open a new copy of the figure in the case that a copy is
already open. If you do not want to create a new copy, set filename
,copies
)copies
to 'reuse'
.
The 'reuse'
option brings the existing figure to
the front of the screen. To open a new copy of the figure regardless
of whether a copy is already open, set copies
to 'new'
.
The 'new'
option is the default behavior.
openfig(___,
specifies
whether to open the figure in a visible or invisible state. To display
the figure, set visibility
)visibility
to 'visible'
.
If you do not want to display the figure, use the 'invisible'
setting.
You can use this option with any of the input argument combinations
in the previous syntaxes.
returns
the figure object. Set properties of the figure object to modify its
appearance or behavior. For a list of properties, see Figure Properties.fig
= openfig(___)
Do not use openfig
to open FIG-files
created with GUIDE. Use the guide
function
instead.