How to get the current configured mbuild compiler?

Hi all,
I run the mcc from command line to create a dll-file.
To ensure the mbuild compiler is set up well on the current computer, I want to verify this.
For mex, there is a way to get the compiler configuration using
mex.getCompilerConfigurations
Is there a (similar) way for mbuild to get the current configured compiler?
Thanks in advance!

 Accepted Answer

There is the possibility to check the configuration file
fullfile(prefdir,'compopts.bat')
on the 2nd line to contain the configured compiler or if the file exists at all.
Expected compilers and their names are:
lcc - for the LCC compiler msvc60 - for Microsoft Visual C++ 6.0 Professional msvc80 - for Microsoft Visual C++ 2005 Professional msvc90 - for Microsoft Visual C++ 2008 Professional msvc100 - for Microsoft Visual C++ 2010 Professional mssdk71 - for Microsoft Windows SDK 7.1

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 27 Aug 2014

Answered:

on 12 Sep 2014

Community Treasure Hunt

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

Start Hunting!