MATLAB Compiler Previous page   Next Page

mwString GetFieldName(int index)

Return string representing name of the (zero-based) ith field in struct array.

C++ syntax

Arguments

Index.   zero-based field number.

Return value

mwString containing the fieldname.

Description

Use this method to determine the name of a given field in a struct array. If the underlying array is not of type struct, an exception is thrown.


Previous page  int NumberOfFields() const mwArray GetDimensions() const Next page

© 1994-2005 The MathWorks, Inc.