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:
i not oo programming in matlab side, oo classes reside in dll only. , not want change dll part well.
i saw posts 1 can call superclass's method through subclass's class as: func@superclass(val). not apply case assume.
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
Post a Comment