Lydos.Matlab

Engine.GetMatrix Method 

Gets a matrix variable by name.

[Visual Basic]
Public Function GetMatrix( _ 
   ByVal name As String _ 
) As Matrix
[C#]
public Matrix GetMatrix(
   string name
);
[C++]
public: Matrix* GetMatrix(
   String* name
);
[JScript]
public function GetMatrix(
   String name
): Matrix;

Parameters

name
The name of the matrix in Matlab.

Return Value

The matrix object.

Exceptions

Exception TypeCondition
ArgumentNullExceptionThrown when name is null.
MatlabGetVariableFailedExceptionThrown when the named matrix does not exist.

See Also

Engine Class | Lydos.Matlab Namespace