Does "mex" function require a specific toolbox?

11 vues (au cours des 30 derniers jours)
Luca Gagliano
Luca Gagliano le 12 Fév 2018
Commenté : Walter Roberson le 12 Fév 2018
Hi guys,
I need to write some C/C++ code that I can use within some Matlab scripts. I've found the following page: http://uk.mathworks.com/help/matlab/ref/mex.html?s_tid=gn_loc_drop
Which doesn't seem to suggest the need for any additional toolbox. Am I right? My platform is windows 10, and I do have Visual studio compiler (I think it does need to have some C/C++ compiler installed).

Réponses (1)

Adam
Adam le 12 Fév 2018
mex only requires base Matlab, no additional toolboxes.
  1 commentaire
Walter Roberson
Walter Roberson le 12 Fév 2018
Note that if the mex code uses the api to invoke MATLAB functions then the toolbox for the invoked function must be present.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by