28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

hdf5<br />

2-1016<br />

h5enum<br />

The HDF5 h5enum class defines an enumerated types, where you can specify<br />

the enumerations (text strings) and the values the represent. The following are<br />

the data members of the h5enum class.<br />

Data Members<br />

Data Multidimensional array<br />

EnumNames Text string specifying the enumerations, that is, the text<br />

strings that represent values.<br />

EnumValues The values associated with enumerations<br />

Name Text string specifying the name of the object<br />

The following are the methods of the h5enum class.<br />

Methods Description Syntax<br />

hdf5.h5enum Constructs object of class<br />

h5enum.<br />

defineEnum Defines the set of<br />

enumerations with the integer<br />

values they represent.<br />

getString Returns data as<br />

enumeration's values, not<br />

integer values<br />

E = hdf5.h5enum;<br />

E = hdf5.h5enum(eNames, eVals)<br />

where E is an h5enum object, eNames is a<br />

cell array of strings, and eVals is vector of<br />

integers. eNames and eVals must have the<br />

same number of elements.<br />

detineEnum(E, eNames, eVals)<br />

where E is an h5enum object, eNames is a<br />

cell array of strings, and eVals is vector of<br />

integers. eNames and eVals must have the<br />

same number of elements.<br />

enumdata = getString(E)<br />

where enumdata is a cell array of strings<br />

and E is an h5enum object.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!