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 comentarios

yunus
yunus el 10 de Jul. de 2011
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 el 10 de Jul. de 2011
http://imageshack.us/photo/my-images/39/imagerlr.png/

Iniciar sesión para comentar.

 Respuesta aceptada

Titus Edelhofer
Titus Edelhofer el 10 de Jul. de 2011

2 votos

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

4 comentarios

Titus Edelhofer
Titus Edelhofer el 12 de Jul. de 2011
Hi Yanus,
did you try to rerun the setup? Any difference?
Titus
nsbd
nsbd el 12 de Jul. de 2011
I've tried.but they did not.Look at the picture.there have browser. requesting a link there.
ty bro.
Titus Edelhofer
Titus Edelhofer el 13 de Jul. de 2011
This is the wrong place. You have to run the command above in MATLAB in Command Window.
Titus Edelhofer
Titus Edelhofer el 13 de Jul. de 2011
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...

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 12 de Jul. de 2011

2 votos

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 comentarios

yunus
yunus el 13 de Jul. de 2011
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 el 13 de Jul. de 2011
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 el 13 de Jul. de 2011
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 el 13 de Jul. de 2011
ok bro ty.I'm trying to
yunus
yunus el 14 de Jul. de 2011
I'm sorry guys.Titus answered before.but thank you,You showed me
ty all

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 10 de Jul. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by