propertyeditor
(Not recommended) Show or hide the Property Editor
propertyeditor
is not recommended. Useinspect
to launch theProperty Inspectorinstead. For more information, seeCompatibility Considerations.
Description
propertyeditor
显示属性Editor plot tool on the current figure. If no current figure exists,propertyeditor
will create one.
When you dock, undock, resize, or reposition a plot tool, MATLAB®restores that configuration when you invoke the tool for subsequent figures, both within and across MATLAB sessions. There is no command to reset a plot tool to its original configuration.
propertyeditor(
changes the state of the Property Editor plot tool on the figure. For example,state
)propertyeditor("on")
显示属性Editor.
propertyeditor(
operates on the specified figure instead of the current figure. The inputfig
,___)fig
can precede any of the input argument combinations in the previous syntaxes.
Examples
Input Arguments
Tips
If you callpropertyeditor
in a MATLAB program and subsequent lines depend on the Property Editor being fully initialized, follow it bydrawnow
to ensure complete initialization.
Alternatives
Show or hide theProperty Editortool from theViewmenu of a figure window.