how to load a C# dll into a matlab project

11 次查看(过去 30 天)
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

采纳的回答

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

更多回答(2 个)

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

请先登录,再进行评论。


alorenzom
alorenzom 2011-8-4
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.

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by