Matlab - Maple Programming 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

Parameters

Description

Examples

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_aLinearAlgebraRandomMatrix16:

Matlabsetvarmatlabmatrix_a,maplematrix_a:

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

MatlabevalMresult = condest(matlabmatrix_a)

Matlabgetvarresult

See Also

Matlab

Matlab[defined]

Matlab[dimensions]

Matlab[setvar]

Matlab[size]

Matlab[square]

MatlabMatrix