accessing "sub-structs"
John W. Eaton
jwe at octave.org
Sun Jun 7 07:56:19 CDT 2009
On 6-Jun-2009, Thorsten Meyer wrote:
| My current need for extracting substructures comes from dealing with
| plots. E.g., I would like to get the current plot object with
| get(h)
| and extract the options, which are needed to later reproduce the plot
| (and I like keeping plot options in a structure ...).
You can use rmfield to delete the unwanted elements of the structure
and generate your substructure.
jwe
More information about the Help-octave
mailing list