pro test
oMatlab = obj_new('IDLcomIDispatch$ProgID$Matlab_application_7.13') ; or 9.5
;use '..._6' instead if you use Matlab 6.x
;oMatlab -> setProperty, visible=0
a = 4.8
oMatlab -> PutWorkspaceData, 'b', 'base', a
oMatlab -> Execute, 'c = fix(b);'
oMatlab -> GetWorkspaceData, 'c', 'base', d
help, a, b, c, d
obj_destroy, oMatlab
end
Be sure to supply 1D data when transferring! Use reform or reshape before and