how to load a C# dll into a matlab project

10 views (last 30 days)
dear all, I'd like to run a matlab project that use a C# routine which is inside a C# dll. If it's possible, could you please give me an example? thanks a lot

Accepted Answer

Friedrich
Friedrich on 4 Aug 2011
Hi, You have to use NET.addAssembly to load a .NET DLL into MATLAB:
After that you can communicate with that DLL.

More Answers (2)

Titus Edelhofer
Titus Edelhofer on 4 Aug 2011
Hi,
yes it is. Take a look here:
web([docroot '/techdoc/matlab_external/brpb5k6.html'])
Titus
  1 Comment
alorenzom
alorenzom on 4 Aug 2011
Dear Titus,
could you please gimme other details on how to use this documentation article. I tried to read it but I didn't understand how to exploit it for my purpose.
Thanks a lot in advance

Sign in to comment.


alorenzom
alorenzom on 4 Aug 2011
Maybe my question is not clear.
I want to call from matlab a window (i.e. a form) which is implemented in a C# DLL.

Categories

Find more on MATLAB Coder 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!