Sets a matrix variable by name.
[Visual Basic] Public Sub SetMatrix( _ ByVal name As String, _ ByVal matrix As Matrix _ ) [C#] public void SetMatrix( string name, Matrix matrix ); [C++] public: void SetMatrix( String* name, Matrix* matrix ); [JScript] public function SetMatrix( String name, Matrix matrix );
Exception Type | Condition |
---|---|
ArgumentNullException | Thrown when either name or matrix is null. |
ObjectDisposedException | Thrown when matrix has already been disposed. |
MatlabPutVariableFailedException | Thrown when there is an error returned by Matlab. |