This is an interface to the
Matlab C API.
The package “MATLAB” is
case-sensitive, so you would write
(matlab:engOpen ...)
when you need to call engOpen
.
Additionally, some higher level functionality is available
(see modules/matlab/test.tst
for sample usage):
(matlab:matfile-content mf)
VECTOR
of STRING
s naming the
variables in file mf
(opened using matOpen
).
matlab:*command*
engOpen
.
matlab:*engine*
(matlab:engine)
*engine*
is valid and
return it.(matlab:with-engine
(&OPTIONAL
engine command) &BODY
body
)
body
wuth the engine
bound to a Matlab engine (default *engine*
).
The engine is opened with engOpen
,
then closed with engClose
.
(matlab:with-MATfile
(file name &OPTIONAL
mode) &BODY
body
)
matOpen
the
matlab file, do the body
, matClose
it.(matlab:copy-lisp-to-mxArray
lisp-array &OPTIONAL
matlab-matrix)
(matlab:copy-lisp-to-matlab
lisp-array matlab-variable &KEY
engine)
STRING
) in the supplied engine (defaults to
*engine*
).(matlab:copy-mxArray-to-lisp
matlab-matrix &OPTIONAL
lisp-array)
(matlab:copy-matlab-to-lisp
matlab-variable &OPTIONAL
lisp-array &KEY
engine)
(matlab:invert-matrix
lisp-array &KEY
engine)
These notes document CLISP version 2.41 | Last modified: 2006-10-13 |