Use custom class inside embedded Matlab function
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponses (1)
Kaustubha Govind
le 7 Avr 2011
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.
0 commentaires
Voir également
Catégories
En savoir plus sur Build MATLAB Interface to C++ Library dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!