accessing an event in matlab .NET dll from c# platform

4 views (last 30 days)
Hello, I would like to listen to event I've compiled to .NET dll (Matlab 2015a) from the .NET platform in C#. The Matlab compiler puts all the functions and classes in my code under a defualtive 'Class1' class. Is it possible to add an event to this Class1 in order to listen to it from outside the dll? since it is not possible to access the events from the classes I have compiled... Thanks!
  3 Comments
tel aviv university
tel aviv university on 5 Aug 2015
I would like to listen to the matlab event in a C# program outside matlab. The event is in matlab code compiled to dll. The dll is read in C# program, and the event callback is in the C# program.
Al Dente
Al Dente on 5 Aug 2015
I haven't worked with dlls generated from matlab before, but go to matlab command prompt and type mex.getCompilerConfigurations if it's visual studio then I guess you can add event listeners in .NET, just a guess though, never tried this.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!