Programmatically configuring mex to use setup

4 views (last 30 days)
Hi,
how can I programmatically ask mex to use a certain compiler such as 'Microsoft Visual C++ 2013 Professional (C++)' or 'Microsoft Visual C++ 2015 Professional (C++)'?
I can run 'mex -setup' and select a compiler manually by clicking the links but this is
a. manual
b. the links are dependent on user name, matlab install dir etc.
I need a method which could work on other users and other install dirs and can be called from a matlab script.
Thanks

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2015b

Community Treasure Hunt

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

Start Hunting!