sample Matlab COM object for C# .NET Framework application

12 views (last 30 days)
Hello everybody,
I am trying to build a Matlab COM object (encapsulated in a DLL), which I want to use in a C# .NET Framework application. Can somebody please point me to some detailed documentation, or working sample? I use Visual Studio 2019.
Thank you

Answers (1)

Christopher McCausland
Christopher McCausland on 2 Nov 2021
The MATLAB documentation has lots of examples and documentation to get you going.
Here's a link to an example. And a second link to the top level MATLAB COM documetation which has many sublinks. That should be enough to get you going!
Let us know how it goes,
Christopher McCausland
Christopher McCausland on 7 Nov 2021
If you are looking for a specific C# example, here is one. This is locatable from the second link in the first answer which has ALL COM documentation.
Hope this helps,

Sign in to comment.


Find more on MATLAB Compiler SDK in Help Center and File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by