Does "mex" function require a specific toolbox?

16 visualizzazioni (ultimi 30 giorni)
Luca Gagliano
Luca Gagliano il 12 Feb 2018
Commentato: Walter Roberson il 12 Feb 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).

Risposte (1)

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

Accedi per commentare.

Categorie

Scopri di più su Write C Functions Callable from MATLAB (MEX Files) in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by