Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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, type:

h = actxserver('Matlab.Desktop.Application')

An example in Microsoft® Visual Basic® is:

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