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/

サインインしてコメントする。

 採用された回答

Titus Edelhofer
Titus Edelhofer 2011 年 7 月 10 日

2 投票

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

4 件のコメント

Titus Edelhofer
Titus Edelhofer 2011 年 7 月 12 日
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.
Titus Edelhofer
Titus Edelhofer 2011 年 7 月 13 日
This is the wrong place. You have to run the command above in MATLAB in Command Window.
Titus Edelhofer
Titus Edelhofer 2011 年 7 月 13 日
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?
Chirag Gupta
Chirag Gupta 2011 年 7 月 13 日
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.
Walter Roberson
Walter Roberson 2011 年 7 月 13 日
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 ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by