matlab to mex vector<string> as ref
이전 댓글 표시
Hi,
I created c++ wrapper class using mex and mex file called from matlab class. method having (vector<string>&,double&) two passing parameter as ref. double variable i am getting updated value from c++. but vector<string> not able to recived from matlab. example: vectorlist = ['hi','heello']; val = 0.0; input('\ntesting'); obj.update(GetListProxyMIF(vectorlist, val)); %% getListProxy will call MEX file and MEX file is wrapper of c++ class. disp(vectorlist) disp(val)
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!