MathWorks.MATLAB.Types.MATLABArray
Description
Use
MathWorks.MATLAB.Types.MATLABArray
to represent a MATLAB® type in a .NET application.
Using this type reduces the number of
array allocations and data copies. For an example, see Reduce Array Allocation Using MATLABArray.
There
is no direct mapping from a MATLAB type to a single .NET type. MATLAB returns arguments as dynamic
.NET types. Convert the
MATLABArray
object to a specific .NET type for your application. For an
example, see Pass Variables from MATLAB to .NET.
Class Details
Namespace: | MathWorks.MATLAB.Types |
Superclass: | System.Dynamic.DynamicObject |
Superclass: | System.IConvertible |
Examples
Version History
Introduced in R2022b