How to evaluate function handles in mex c++ api
Ältere Kommentare anzeigen
There is a bit of documentation how to call matlab function from your mex and it works just fine until you try to call something that you didn't know at compile time. Traditionally I would pass a function handle and evalute it from within my mex file, e.g. a solver interface or something like that. The only way I can do this in the c++ api seems to be passing the name of the function instead and calling it via its name. That can't be right? What am I missing here?
Best,
Manuel
Akzeptierte Antwort
Weitere Antworten (1)
Manuel Schaich
am 2 Jan. 2019
0 Stimmen
Kategorien
Mehr zu Write C++ Functions Callable from MATLAB (MEX Files) finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!