photo

Vincent Huber


Last seen: plus de 3 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

MATLAB Answers

3 Questions
2 Réponses

RANG
22 660
of 300 364

RÉPUTATION
2

CONTRIBUTIONS
3 Questions
2 Réponses

ACCEPTATION DE VOS RÉPONSES
0.0%

VOTES REÇUS
2

RANG
 of 20 934

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 168 407

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • First Answer

Afficher les badges

Feeds

Afficher par

Question


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 ...

environ 5 ans il y a | 1 réponse | 2

1

réponse

Réponse apportée
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 }...

environ 5 ans il y a | 0

Question


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...

environ 5 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
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, {});

environ 5 ans il y a | 0

Question


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...

environ 5 ans il y a | 1 réponse | 0

1

réponse