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

조회 수: 14 (최근 30일)
Kalyani
Kalyani 2014년 10월 28일
댓글: Shubham Patel 2019년 4월 18일
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
Kalyani
Kalyani 2014년 10월 28일
Before installing SDK7.1 do i have to install Visual C++ compiler?
Shubham Patel
Shubham Patel 2019년 4월 18일
WIndows SDK does work for C code generation. But for C++ code you will need Visual Studio.
SDK doesn't have C++ Compiler

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

카테고리

Help CenterFile Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by