BTK Matlab Wrapper  0.3dev.0
Matlab bindings for the Biomechanical ToolKit library (BTK)
btkGetMetaData Class Reference

Description

Extract metadata for the given acquisition.

Syntax:
md = btkGetMetaData(h)
md = btkGetMetaData(h, label)
md = btkGetMetaData(h, label, sublabel)
md = btkGetMetaData(h, label, sublabel, ...)
Parameters
hHandle pointing to a C++ btk::Acquisition object.
hlabel String to extract only the metadata and its children with the label label from the root level.
hsublabel String to extract only the metadata and its children with the label sublabel from the metadata 'label'.
h... Others strings to extract the metadata at any desired level.
Return values
mdStructure with the following fields:
  • md.info: Strucutre containing metadata's informations if present or the value 0
    • md.info.format: String containing information's format. Only the following formats are available:
      • Char ;
      • Byte ;
      • Integer ;
      • Real.
    • md.info.dims: Matrix with the dimensions of the values
    • md.info.values: Matrix of array or cells depending the format.
  • md.children: Store the same structure for the children of 0 if there is not.
  • md.description: String containing the metadata's description
  • md.unlocked: Flag to know if the metadata is set as unlocked or not.
Detailed description:
If no metadata has the given label, then an error is thrown. By default, BTK, use two label of metadata representing group and parameters (as proposed in the C3D format).
See Also
btkAppendMetaData, btkClearMetaData, btkFindMetaData, btkRemoveMetaData, btkSetMetaData