Matlab .net interop class hierarchy issue -


as matlab weak-typed language while c# strong-type language, interop not natural intent be, thereby have little trouble in hope can advice on here.

in case, want call 1 .net library in matlab. .net library has lots of oo structures. intention not want change c# library side. add relative assembly matlab.

for instance, in .net library, have

class {      method1 //not static method }  class b : {      ... } 

in matlab code, retrieve 1 object of class b, e.g b, want invoke object's class a's method1. natural coding behavior calling: b.method1(val);.

however, matlab give me below error makes me unhappy: error: no method 'method1' matching signature found class b

i might post of study on issue:

  1. i not oo programming in matlab side, oo classes reside in dll only. , not want change dll part well.

  2. i saw posts 1 can call superclass's method through subclass's class as: func@superclass(val). not apply case assume.

  3. i saw posts on driver between mongo-matlab on github. not through details, , might give me answer, hope can advices before dive inside code part.

thanks


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -