![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/9123223_1524477098044_DEF.jpg)
Vincent Huber
Followers: 0 Following: 0
Feeds
提问
return empty array in c++ mexFunction in the out-of-process mexHost
I want to use the out-of-process functionnality and to return an empty array in my C++ mexFunction. It is not exactly the same ...
4 years 前 | 0 个回答 | 2
0
个回答已回答
C-MEX file: I want to return an empty array, does anyone know how?
In C++ if I call for value = feval(mh,"myMexfunction",arg1,...) with inside outputs[0] = factory.createArray<double>({ 0,0 }...
C-MEX file: I want to return an empty array, does anyone know how?
In C++ if I call for value = feval(mh,"myMexfunction",arg1,...) with inside outputs[0] = factory.createArray<double>({ 0,0 }...
4 years 前 | 0
提问
C++ S-Function and C++ MEX type matlab::data::array
What is the substitute of - for example, see Function Description mdlGetOperatingPoint to work with - see DataType Description...
4 years 前 | 0 个回答 | 0
0
个回答已回答
using matlab::engine::MATLABEngine from MexFunction::operator() to call the "path" matlab function
This is the correct call to feval for command with no arguments: auto res = matlabptr->feval((std::string)values[0],1, {});
using matlab::engine::MATLABEngine from MexFunction::operator() to call the "path" matlab function
This is the correct call to feval for command with no arguments: auto res = matlabptr->feval((std::string)values[0],1, {});
4 years 前 | 0
提问
using matlab::engine::MATLABEngine from MexFunction::operator() to call the "path" matlab function
From the Matlab Command Window, calling for path works normally. From a C++-mexFunction I try to do the same. Doing so, I have...
4 years 前 | 1 个回答 | 0