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 Comments

Jan
Jan on 21 May 2012
Did you install a C-Compiler already?
Kaustubha Govind
Kaustubha Govind on 21 May 2012
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 on 21 May 2012
@Jan Simon : I installed the Lcc-win32 C 2.4 , by executing mex setup command, is this sufficient ?
Walter Roberson
Walter Roberson on 21 May 2012
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 on 21 May 2012
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 ;)

Sign in to comment.

Answers (0)

Categories

Products

Asked:

on 21 May 2012

Community Treasure Hunt

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

Start Hunting!