Mex setup C++

Hey every Body, How do u ? :) Actually I used Matlab 2011 7.12, and I need to use MATLAB Coder for Generate a C++ code, but the problems I can't located a C++ compliler with mex setup command, So I ask if it possible the use another way to do that. really I will be Thankful if u try to help me. thanks :)

댓글 수: 5

Jan
Jan 2012년 5월 21일
Did you install a C-Compiler already?
Kaustubha Govind
Kaustubha Govind 2012년 5월 21일
You need to install a supported compiler. Please look up the list (last column on the table) corresponding to your version and platform: http://www.mathworks.com/support/sysreq/previous_releases.html
Amara
Amara 2012년 5월 21일
@Jan Simon : I installed the Lcc-win32 C 2.4 , by executing mex setup command, is this sufficient ?
Walter Roberson
Walter Roberson 2012년 5월 21일
For further reference: Lcc is a C compiler only, not a C++ compiler.
Also, Lcc is only supported for 32 bit code generation, not for 64 bit code generation (I could not tell from your question which you need.)
Amara
Amara 2012년 5월 21일
you're absolutely right Roberson, so for this raison , I installed Microsoft Visuel C++ express, and I selected as C++ compiler for Mex ,and the problem is resolve :)
So a big thank for every one try to help me ;)

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

태그

질문:

2012년 5월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by