AlejandraLanier

Bring in a MatLab value to ACE

Discussion created by AlejandraLanier on Nov 17, 2011
Latest reply on Nov 17, 2011 by AlejandraLanier
Good morning all:

Has anyone ever tried to bring in a MatLab value to ACE?
The idea is as follows (but this won't work)

    Public Overrides Sub ACECalculations()
        Dim Result As String
        Dim MatLab As Object
        MatLab = CreateObject("Matlab.Application")
        Result = MatLab.Execute("a = 1;")
        ACE_Calc.Value = Result
        MatLab.Quit
        MatLab = Nothing
    End Sub

Thanks for your help.

Outcomes