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

 Akzeptierte Antwort

Friedrich
Friedrich am 4 Aug. 2011

0 Stimmen

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

Weitere Antworten (2)

Titus Edelhofer
Titus Edelhofer am 4 Aug. 2011

0 Stimmen

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

1 Kommentar

alorenzom
alorenzom am 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

Melden Sie sich an, um zu kommentieren.

alorenzom
alorenzom am 4 Aug. 2011

0 Stimmen

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.

Kategorien

Mehr zu MATLAB Coder finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by