Click or drag to resize
MWCellArray Class
MWCellArray derives from MWArray and is the managed representation of the MATLAB cell array. Each element in a cell array is a container that can hold an MWArray or one of its derived types, including another MWCellArray.
Inheritance Hierarchy
SystemObject
  MathWorks.MATLAB.NET.ArraysMWArray
    MathWorks.MATLAB.NET.ArraysMWCellArray

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

The MWCellArray type exposes the following members.

Constructors
  NameDescription
Public methodMWCellArray
Creates an empty cell array.
Public methodMWCellArray(Int32)
Creates an M-by-N-by-P-by-... empty cell array.
Public methodMWCellArray(MWCharArray)
Creates a cell array of strings from a two dimensional character array.
Public methodMWCellArray(MWNumericArray)
Creates an empty cell array with the dimensions specified by an MWNumericArray row vector.
Public methodMWCellArray(Int32, Int32)
Creates an M-by-N empty cell array.
Protected methodMWCellArray(SerializationInfo, StreamingContext)
Internal Constructor - Deserialization constructor.
Top
Methods
  NameDescription
Public methodClone
Makes a deep copy of a MATLAB cell array
(Overrides MWArrayClone.)
Public methodDispose
Releases resources of the MWArray and the native mxArray that it encapsulates.
(Inherited from MWArray.)
Protected methodDispose(Boolean)
Internal function
(Overrides MWArrayDispose(Boolean).)
Public methodEquals
Compares the current MWCellArray instance with the specified cell array for equality; returning a boolean value.
(Overrides MWArrayEquals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Returns the hashcode for the MATLAB cell array
(Overrides MWArrayGetHashCode.)
Public methodGetObjectData
Serialization function.
(Inherited from MWArray.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToArray
Returns a .NET array equivalent for the MATLAB cell array.
(Overrides MWArrayToArray.)
Public methodToString
Returns a formatted string representing the MATLAB cell 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 MWCellArray.
Public propertyIsCellArray
Returns "true" for an MWCellArray.
(Inherited from MWArray.)
Public propertyIsCharArray
Returns true for an MWCharArray.
(Inherited from MWArray.)
Public propertyIsDisposed
Read only property returning the handle status of the encapsulated MWArray
(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 propertyIsStringArray
Returns true for an MWStringArray.
(Inherited from MWArray.)
Public propertyIsStructArray
Returns true for an MWStructArray.
(Inherited from MWArray.)
Public propertyItem
The MATLAB cell 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.)
Top
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