get a numerical array or matrix in an open MATLAB(R) session - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Numerical Computations : Matlab : Matlab/getvar

Matlab[getvar] - get a numerical array or matrix in an open MATLAB(R) session

Calling Sequence

getvar(X)

Parameters

X

-

string naming the MATLAB® variable

Description

• 

The command getvar gets the value of the MATLAB® variable X.

• 

The variable X must be a MatlabMatrix.

• 

Executing the getvar command returns a Matrix, Vector or constant.

Examples

withMatlab:

maplematrix_a:=LinearAlgebra[RandomMatrix]16:

Matlab[setvar]matlabmatrix_a,maplematrix_a:

The matrix can be manipulated and reassigned in MATLAB®, and the result can be transferred back to Maple.

Matlab[evalM]result = condest(matlabmatrix_a)

Matlab[getvar]result

See Also

Matlab, Matlab[defined], Matlab[dimensions], Matlab[setvar], Matlab[size], Matlab[square], MatlabMatrix


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam