Use custom class inside embedded Matlab function
Mostra commenti meno recenti
Hi, I read about call C/C++ function in embedded Matlab function. I would like to know beside function weather I can reuse classes I already wrote in C++ or not? Please let me know how to do it.
Best regards, Thang
Risposte (1)
Kaustubha Govind
il 7 Apr 2011
0 voti
I think you might need to create a regular function to act as a wrapper to your C++ class method, and call that wrapper using eml.ceval. It is not possible to directly call class methods from Embedded MATLAB.
Categorie
Scopri di più su External Language Interfaces in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!