Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the meantime, Matlab has provided some workaround code that we have reworked into a function users can use. Download this fileYou can download the file here:

translate_enums.m

or soon be able to get it from the src directory of the h5tools package of the analysis release: /reg/g/psdm/sw/releases/ana-current/h5tools/src (as of today -10/3/2013, it is not yet part of ana-current, but will be soon).  Once you have the file, add it to a directory in your Matlab search path, and call the function translate_enums in order to have the enum field translated into a string field. One would use this as follows:

...