mxArray* to mwArray
조회 수: 15 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deploy to C++ Applications Using mwArray API (C++03)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!