MEX - multiple export functions
이전 댓글 표시
Hello All,
I would like to export multiple functions from a single MEX file. basically, what I am trying to achieve is to have a single .dll file which will have the functions to connect to a proprietary piece of hardware, then exchange data with the hardware and in the end close down the connection. The connection and disconnection will happen only once whereas the exchange of data will happen multiple (unknown) times in between these calls. Hence, I cannot use a single function to do all this work.
In the same vein, if I wrote a C++ class to do all this, can I get the convenience and functionality of OOPS in MATLAB? Or do I need to write a wrapper MATLAB class for the same?
I know that these might be multiple queries in the same post, but would be glad for any help that I can get.
Thanks, Jitesh Butala
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!