Re: WIN32OLE extension using in/out SAFEARRAYs (Matlab inter

Here is the method signature.

is the code I am using.

require ‘win32ole’
matlab =‘Matlab.Application’)
matlab.Execute(‘bob = 1:5;’)
t1 =, 0.0)
t2 = t1.dup
t3 = matlab.GetFullMatrix(‘bob’, ‘base’, t1, t2)

I can’t answer your question directly, but a search on “getfullmatrix” +
“perl” revealed some Matlab examples that you might be able to borrow



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs