hgobj2code (Scripts) Publisher's description
from Tom Gaudette
CODE = HGOBJ2CODE(HANDLE).
CODE = HGOBJ2CODE(HANDLE). HANDLE is the handle to a handle graphics object.
CODE is a formatted string containg the code neccessary to duplicate most properties of the object pointed to by HANDLE.
Replicable properties are those whose values are LOGICAL, CHAR, 1 dimensional CELL arrays, and up to 2 dimensions for NUMERIC matrices.
If a property qualifies under those specifications, it may not be replicable if GET returns a value which MATLAB says is an illegal SET value.
In this case, of if the property type does not qualify, noe code will be generated for this property, which means the object created by the generated code will have a default value for this property.
Warnings are issued for any properties which cannot be replicated in the code. Please note that Children and Parent properties will not be generated either, as they refer to existing objects which may not be there when the generated code is executed. No warning will be issued for these two properties.
System Requirements:MATLAB 6.5 (R13)
Program Release Status: New Release
Program Install Support: Install and Uninstall