MATLAB Compiler Previous page   Next Page

int NumberOfFields() const

Return number of fields in struct array.

C++ syntax

Arguments

None

Return value

Number of fields in the array.

Description

Use this method to determine the number of fields in a struct array. If the underlying array is not of type struct, zero is returned.


Previous page  int NumberOfDimensions() const mwString GetFieldName(int index) Next page

© 1994-2005 The MathWorks, Inc.