>  Docs Center  >  Libraries  >  Motley  >  MGH_STRUCT_FIND_TAG
Libraries

MGH_STRUCT_FIND_TAG

MGH_STRUCT_FIND_TAG

Name


  MGH_STRUCT_FIND_TAG

Purpose


  This function finds tags in a structure by name

Calling Sequence


  Result = MGH_STRUCT_FIND_TAG(struct, tags)

Positional Parameters


  struct (input, scalar structure)
    Structure in which tags are to be located.
  tags (input, string)
    A list of tag names

Return Value


  The function returns an integer of the same shape as the "tags"
  input parameter giving the location of each tag in the
  structure. Unmatched tags are indicated by the value -1.
###########################################################################
  This software is provided subject to the following conditions:
  1. NIWA makes no representations or warranties regarding the
    accuracy of the software, the use to which the software may
    be put or the results to be obtained from the use of the
    software. Accordingly NIWA accepts no liability for any loss
    or damage (whether direct of indirect) incurred by any person
    through the use of or reliance on the software.
  2. NIWA is to be acknowledged as the original author of the
    software where the software is used or presented in any form.
###########################################################################

Modification History


  Mark Hadfield, 2003-04:
    Written.
  Mark Hadfield, 2005-11:
    Updated.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us