Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: determination of the associated compiler and API lib locations
Date: Thu, 12 Nov 2009 08:25:03 +0000 (UTC)
Organization: UNIVERSITE AIX MARSEILLE 2
Lines: 20
Message-ID: <hdggou$9du$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1258014303 9662 172.30.248.38 (12 Nov 2009 08:25:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 12 Nov 2009 08:25:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 870049
Xref: news.mathworks.com comp.soft-sys.matlab:584449


Hello,


Who knows how to determine the compiler associated with the mex command. Want a function which returns a string such as : 

comp = compiler;

where comp should be {lcc, msvc, gcc, ...} and whatever version of Matlab of course ...

Other point, I would like to know the location of librairies used by matlab such BLAS, LAPACK, etc ... A function returning something like

lib = APIllib;


where lib.blas = 'C:\Program Files\MATLAB\R2009a\extern\lib\win32\microsoft\libmwblas.lib'

for example.


Sebastien