Mensaje    Asunto: Uso de SAFEARRAY Responder citando

Holas:

Necesito conectarme a matlab con ActiveX en una guia dice asi
Código:

void GetFullMatrix(
[in] BSTR Name,
[in] BSTR Workspace,
[in, out] SAFEARRAY(double)* pr,
[in, out] SAFEARRAY(double)* pi);


Para llamar a esta funcion del Basic se procede del siguiente modo
Código:

Dim MatLab As Object
Dim Result As String
Dim MReal(1, 3) As Double
Dim MImag() As Double
rem We assume that the connection to MATLAB exists.
Result = MatLab.Execute("a = [1 2 3 4; 5 6 7 8;]")
Call MatLab.GetFullMatrix("a", "base", MReal, MImag)

Echenme una mano o alguna idea he buscado en la help de builder y esta bien Feo eso del SAFEARRAY Sad
Porque estas cosillas son tan sencillas en el Basic??? Confused

Gracias por escucharme y espero sus ayudas.