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)

Antworten (0)

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 2 Dez. 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by