MEX - multiple export functions
Show older comments
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
1 Comment
Jitesh Butala
on 23 Apr 2012
Accepted Answer
More Answers (0)
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!