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 Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by