Thursday, May 16, 2013

Matlab Application Type Library MLApp COM-Object not shown in Visual Studio 2012 Add Reference Dialog

I wanted to add a reference to the Matlab Application Type Library MLApp to my C#-Project to call Matlab using COM, but the add reference dialog did not list it.

How-i-fixed-it:

1. Open a windows command prompt as administrator
2. Navigate to your Matlab installation directory\bin
3. matlab.exe /register
4. In the matlab command windows enter: !matlab -regserver

Here i found the right hints:
http://www.mathworks.de/support/solutions/en/data/1-6JHG55/

No comments:

Post a Comment