openfig
Open figure saved in FIG file
Description
openfig(
opens the figure saved in the
MATLAB® figure file (FIG file) called filename
)filename
.
Warning
Security Considerations: The
openfig
function might execute code contained
in a FIG file as it loads the graphics objects. Avoid calling
openfig
on untrusted FIG files.
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.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a