Automating Visual Studio from MATLAB

I want to automate a running instance of Visual Studio with MATLAB, similar to the way done in this post in C#. I know how to create a new instance with

hCOM = actxserver('VisualStudio.DTE.9.0');

and then use it, and make it visible and usable after automation is complete as explained here. What I don’t know is how to connect to an existing instance of Visual Studio. How can this be accomplished in MATLAB?

Source: New Questions

Leave a Reply