Use custom class inside embedded Matlab function
이전 댓글 표시
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
답변 (1개)
Kaustubha Govind
2011년 4월 7일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Build MATLAB Interface to C++ Library에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!