How to install a C compiler for Matlab 2013a 64 bit version?

4 visualizzazioni (ultimi 30 giorni)
I want to install C compiler for Matlab2013a version. Please help with the procedure.

Risposte (1)

Abhiram Bhanuprakash
Abhiram Bhanuprakash il 28 Ott 2014
Modificato: Abhiram Bhanuprakash il 28 Ott 2014
Hi Kalyani,
The C compiler you would want to install depends on what features of MATLAB you would like to use.
For example, For C and C++ shared libraries, you can use any of the following:
a. Microsoft Windows SDK 7.1
b. Microsoft Visual C++ 2012 Professional
c. Microsoft Visual C++ 2010 Professional SP1
d. Microsoft Visual C++ 2008 Professional SP1 and Windows SDK 6.1
If you want a complete table of supported compilers for MATLAB R2013a, you can refer to this documentation
In the above mentioned documentation, you can find a table of the features and the supported compilers.
If you would like to use the compiler Windows SDK 7.1 which is available for free, you can install it by following the steps mentioned here
After installing, make sure to point MATLAB to use the installed compiler by executing the following line in the MATLAB Command Window:
>> mex -setup
For more information on 'mex' command, refer to the documentation here and here
  2 Commenti
Kalyani
Kalyani il 28 Ott 2014
Before installing SDK7.1 do i have to install Visual C++ compiler?
Shubham Patel
Shubham Patel il 18 Apr 2019
WIndows SDK does work for C code generation. But for C++ code you will need Visual Studio.
SDK doesn't have C++ Compiler

Accedi per commentare.

Categorie

Scopri di più su Troubleshooting in MATLAB Compiler SDK 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