Click or drag to resize
MWStructArray Class
MWStructArray is the managed representation of the MATLAB structure array. Like its MATLAB equivalent, it consists of field values associated with field names.
Inheritance Hierarchy
SystemObject
  MathWorks.MATLAB.NET.Arrays.nativeMWArray
    MathWorks.MATLAB.NET.Arrays.nativeMWStructArray

Namespace: MathWorks.MATLAB.NET.Arrays.native
Assembly: MWArray (in MWArray.dll) Version: 2.24.1.0 (2.24.1.0)
Syntax
C#
[SerializableAttribute]
public class MWStructArray : MWArray, 
	ICloneable, IEquatable<MWStructArray>

The MWStructArray type exposes the following members.

Constructors
Methods
  NameDescription
Public methodClone
Makes a deep copy of an MWStructArray
(Overrides MWArrayClone.)
Protected methodcreateAxisWeightArray (Inherited from MWArray.)
Protected methoddeepCopy (Inherited from MWArray.)
Public methodEquals(Object)
Compares two MATLAB structure arrays for equality returning a boolean value.
(Overrides MWArrayEquals(Object).)
Public methodEquals(MWStructArray)
Protected methodFinalize (Inherited from Object.)
Protected methodget (Inherited from MWArray.)
Protected methodgetDimsStr (Inherited from MWArray.)
Public methodGetField(String)
Returns the contents of the specified field in the structure array.
Public methodGetField(String, Int32)
Returns the contents of the specified field in the specified structure of an array of structures.
Public methodGetHashCode
Returns the hashcode for the MWStructArray
(Overrides MWArrayGetHashCode.)
Protected methodgetOneBasedIndexForArray (Inherited from MWArray.)
Public methodGetType (Inherited from Object.)
Protected methodinitNativeArray (Inherited from MWArray.)
Public methodIsField
Returns true if the specified field is the name of a field in the structure array.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveField
Removes the specified field from the structure array.
Protected methodresizeFlatArray (Inherited from MWArray.)
Protected methodset(Int32, Object) (Inherited from MWArray.)
Protected methodset(Int32, Object) (Inherited from MWArray.)
Protected methodsetDims (Inherited from MWArray.)
Public methodSetField
Sets the contents of the specified field in the structure array.
Protected methodsetFlatArr (Inherited from MWArray.)
Protected methodsetNumOfElem (Inherited from MWArray.)
Public methodToString
Returns a string representing the MATLAB structure array
(Overrides MWArrayToString.)
Top
Properties
  NameDescription
Public propertyArrayType
Read only property returning the derived type of the MWArray
(Inherited from MWArray.)
Public propertyDimensions
Read only property returning a native integer array containing the size of each dimension of the MWArray.
(Inherited from MWArray.)
Public propertyStatic memberEmpty
Read only property returning a writeable version of an empty MWStructArray.
Public propertyFieldNames
Returns the field names of the MATLAB structure array as a native array of strings.
Public propertyIsCellArray
Returns "true" for an MWCellArray.
(Inherited from MWArray.)
Public propertyIsCharArray
Returns true for an MWCharArray.
(Inherited from MWArray.)
Public propertyIsEmpty
Returns true if the MWArray is empty.
(Inherited from MWArray.)
Public propertyIsLogicalArray
Returns true for an MWLogicalArray.
(Inherited from MWArray.)
Public propertyIsNumericArray
Returns true for an MWNumericArray.
(Inherited from MWArray.)
Public propertyIsStructArray
Returns true for an MWStructArray.
(Inherited from MWArray.)
Public propertyItemString
MATLAB structure array field indexer
Public propertyItemString, Int32
The MATLAB structure array indexer
Public propertyNumberofDimensions
Read only property returning the number of dimensions in the MWArray.
(Inherited from MWArray.)
Public propertyNumberOfElements
Read only property returning the number of elements in the MWArray.
(Inherited from MWArray.)
Public propertyNumberOfFields
Returns the number of fields in the MATLAB structure array.
Top
Remarks
See STRUCTURE FUNCTIONS in the MATLAB documentation for a full description of this array type.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also