Reputation:
I am trying to generate a mex file for a c++ library, so that i can call its methods directly from matlab.
As my first argument I want to transfer an inline function, for example inline('sin(x)+3')
.
But now I want to use this function dynamically in my c++ program. There is no method like mxGetInlineFunction(), right? Is there a way I can get my inline item from the array and use it as a math-function in my c++ code?
Thanks in advance!
Upvotes: 2
Views: 217