how to load a C# dll into a matlab project

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

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)

Hi,
yes it is. Take a look here:
web([docroot '/techdoc/matlab_external/brpb5k6.html'])
Titus

1 Comment

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.

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!