How to interact with matlab function (complex array as argument) from Qt (C++)
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a matlab function which takes a multi-dimension complex array as argument, and which return a multi-dimension complex array. I'm like to call that in my Qt application.
I've done some study and I understand I can compile my matlab function and call it from Qt. But how can I pass multi-dimension complex array back and forth? In Qt I can do QList<std::complex<double>> as the data type but is that what I can pass to Matlab function? Thanks.
댓글 수: 10
Walter Roberson
2018년 8월 18일
That looks like it should be fairly efficient.
In MATLAB, the equivalent would be
C = complex(A, B);
답변 (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!