Does "mex" function require a specific toolbox?
10 views (last 30 days)
Show older comments
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).
0 Comments
Answers (1)
Adam
on 12 Feb 2018
mex only requires base Matlab, no additional toolboxes.
1 Comment
Walter Roberson
on 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.
See Also
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!