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

I want to install C compiler for Matlab2013a version. Please help with the procedure.

답변 (1개)

Abhiram Bhanuprakash
Abhiram Bhanuprakash 2014년 10월 28일
편집: Abhiram Bhanuprakash 2014년 10월 28일
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

Before installing SDK7.1 do i have to install Visual C++ compiler?
WIndows SDK does work for C code generation. But for C++ code you will need Visual Studio.
SDK doesn't have C++ Compiler

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

태그

질문:

2014년 10월 28일

댓글:

2019년 4월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by