MATLAB: How to enable the MATLAB desktop when I am running MATLAB as an Automation Server

automationbasicdeskdesktopMATLABservertopvisual

I have a MATLAB automation server session; however, I do not have access to the MATLAB desktop utilities, such as the Workspace Browser, File Browser or Command History.

Best Answer

To have access to all the MATLAB desktop utilities, you will need to enable the MATLAB desktop. To do so, invoke the MATLAB command called DESKTOP from the client application. For instance, from Visual Basic, run the following command:
Call MatLab.Execute("desktop")