Documentation of fieldnames_full

Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)

Function Synopsis

[FieldNamesFull] = fieldnames_full(StructFull)

Help text

 Create cell array with all full fieldnames of given structure

 This function collects the complete/full fieldnames of a given 
 structure up to arbitrary levels and returnes them in a cell array.
 This function calls itself recursively to get the fieldnames of 
 the lower levels.

 Syntax:  [FieldNamesFull] = fieldnames_full(StructFull)

 Input parameters:
    StructFull - Structure of any form

 Output parameter:
    FieldNamesFull - cell array of strings containing the complete 
                     fieldnames of the input structure

 Example:
 % Get the complete/full fieldnames of the structure
 >> ExplStruct.First = 24;
 >> ExplStruct.SecondField.Higher = 'no';
 >> ExplStruct.SecondField.Deeper.Really = 38;
 >> FullFieldNames = fieldnames_full(ExplStruct)
    FullFieldNames = 
      { 'First'
        'SecondField.Higher'
        'SecondField.Deeper.Really'
      }

 See also: paraoptset, paraoptsave, paraoptload, fieldnames_parts

Cross-Reference Information

This function is called by
GEATbx: Main page  Tutorial  Algorithms  M-functions  Parameter/Options  Example functions  www.geatbx.com 

This document is part of version 3.8 of the GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab - www.geatbx.com.
The Genetic and Evolutionary Algorithm Toolbox is not public domain.
© 1994-2006 Hartmut Pohlheim, All Rights Reserved, (support@geatbx.com).