Contents

Launch MATLAB as Automation Server in Desktop Mode

To launch MATLAB® as a COM Automation server in full desktop mode, use the programmatic identifier Matlab.Desktop.Application. For example, in Microsoft® Visual Basic® .NET:

Dim MatLab As Object
Dim Result As String
MatLab = CreateObject("Matlab.Desktop.Application")
Result = MatLab.Execute("surf(peaks)")
Was this topic helpful?