mxArray* to mwArray
2 views (last 30 days)
Show older comments
Hello all,
I have a program in C++ that creates mxArray* variables and uses them to call matlab engine and execute matlab scripts. Now I am changing matlab engine with matlab shared dlls.
I use mcc command
mcc -v -W cpplib:libMyLib -T link:lib test.m
This generates .dll, .lib and .h file. The .h file has c++ entry point functions which accept mwArray. As the existing application has a large number of functions which accept and return mxArray*, I don't want to convert them all to mwArray. Instead, I would like to convert the final mxArray* variable to mwArray and pass to shared dll.
How can I convert mxArray* to mwArray?
Thanks
0 Comments
Answers (0)
See Also
Categories
Find more on Deploy to C++ Applications Using mwArray API (C++03) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!