Azzera filtri
Azzera filtri

how to load a C# dll into a matlab project

11 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

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

Più risposte (2)

Titus Edelhofer
Titus Edelhofer il 4 Ago 2011
Hi,
yes it is. Take a look here:
web([docroot '/techdoc/matlab_external/brpb5k6.html'])
Titus
  1 Commento
alorenzom
alorenzom il 4 Ago 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

Accedi per commentare.


alorenzom
alorenzom il 4 Ago 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.

Community Treasure Hunt

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

Start Hunting!

Translated by