Matlab Compiler

Hi All.
Matlab Compiler 4.13 R2010a
deploytool : "Project Setting/Advanced/External C/C++ Compiler"
What is written here? I get continuous error code 255.
Thanks.

2 个评论

yunus
yunus 2011-7-10
Warning: The -outdir switch requires the mbuild options file to define
NAME_OBJECT. Make sure you are using the latest version of
your compiler's mbuildopts file.
Error: An options file for MBUILD was found, but the value for 'COMPILER'
was not set. This could mean that the value is not specified
within the options file, or it could mean that there is a
syntax error within the file.
C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Options file is invalid.
Error: An error occurred while shelling out to mbuild (error code = 255).
Unable to build executable.
yunus
yunus 2011-7-10
http://imageshack.us/photo/my-images/39/imagerlr.png/

请先登录,再进行评论。

 采纳的回答

Hi Yanus,
as a first test I would rerun
mbuild -setup
and select a C/C++ compiler.
Titus

4 个评论

Hi Yanus,
did you try to rerun the setup? Any difference?
Titus
nsbd
nsbd 2011-7-12
I've tried.but they did not.Look at the picture.there have browser. requesting a link there.
ty bro.
This is the wrong place. You have to run the command above in MATLAB in Command Window.
To answer the original question: on the advanced tab you should normally don't change anything. It's just for the case that you want to use another compiler then the one selected by mbuild -setup...

请先登录,再进行评论。

更多回答(1 个)

Walter Roberson
Walter Roberson 2011-7-12

2 个投票

Which compiler are you using? Did mbuild -setup have any difficulty finding the version of the compiler that you wanted?
The 32 bit compilers supported for your release, 2010a, are listed here
If you are running the 64 bit version of MATLAB then installing the compilers is a two-stage process; please read the Notes section here

5 个评论

yunus
yunus 2011-7-13
I using Matlab Compiler 4.13 Win 7 homepre. 64bit.
i have Microsoft Visual Studio 2005 redistributable (x64)
http://imageshack.us/photo/my-images/39/imagerlr.png
I can not find what I have to write down in this picture.
I get an error, what's wrong?
on the MATLAB Command Prompt, execute:
mbuild -setup
Choose Y to automatically select a compiler. This should now list down installed compilers if any is found. Select one of the installed compilers. You do not need to change anything in the Advanced Tab of deploytool.
Also, Microsoft Visual Studio 2005 redistributable (x64) is not a compiler (its a run time). Use the links Walter has provided above to install a supported compiler.
If you have Microsoft Visual Studio 2005, then is it the Express edition or the Professional edition? The 2005 version of the Express edition is not supported in R2010A: you would need the Professional Edition instead. The Express editions supported in R2010A are the 2008 and 2010 versions.
yunus
yunus 2011-7-13
ok bro ty.I'm trying to
yunus
yunus 2011-7-14
I'm sorry guys.Titus answered before.but thank you,You showed me
ty all

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by