Main Content

MathWorks.MATLAB.Types.MATLABObject

.NET class to represent scalar instances of MATLAB classes

Since R2022b

Description

Dynamic class to represent scalar instances of MATLAB® classes in .NET applications. Use this object to handle MATLAB classes that have no equivalent .NET type, such as MATLAB classdef types.

Class Details

Namespace:

MathWorks.MATLAB.Types
Superclass:System.Dynamic.DynamicObject

Methods

Public Methods

dynamic functionName(arg)

Call MATLAB functionName with supported argument list arg.

Member Variable

dynamic propNameGet or set an object property propName using the dot or period property specifier.

Exceptions

MATLABExecutionException

Passing an invalid heterogeneous array to MATLAB.

Version History

Introduced in R2022b