covert matlab fig to .exe

Hi I have a M-file which i want to convert into .exe file.for this I typed the following command on the command prompt : mcc -m filename
which according to the source of information should result in various files generation.However I get .ctf, .proj, _main.c and data.c extension files but I do not get any .exe extension file.Can anybody tell me what could be the problem and how can I resolve it?

4 Comments

That is unexpected. Do you see any error? Also, it might be useful to post the output of
mcc -mv filename
No error as such but the
The prompt says
select compiler:
what should I write there?
I am currently using MATLAB 2007a in windows7.
You need a supported C compiler. For R2007a, see:
http://www.mathworks.co.uk/support/compilers/1601_74.html#WIN32
http://www.mathworks.co.uk/support/compilers/1601_74.html#WIN64
Note that R2007a is not supported on Windows 7:
http://www.mathworks.co.uk/support/sysreq/release2007a/index.html
Support for Windows 7 came in R2009a:
http://www.mathworks.co.uk/support/sysreq/roadmap.html
thanks!

Sign in to comment.

Answers (0)

Categories

Tags

Asked:

on 26 Apr 2011

Community Treasure Hunt

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

Start Hunting!