Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
mbuild - error code

Subject: mbuild - error code

From: Michael Timm

Date: 12 Mar, 2008 16:30:20

Message: 1 of 3

Hi,

does anybody know what the following error signifies
(couldn't find it in the manual).

-----
Error: An error occurred while shelling out to mbuild (error
code = -1).
Unable to build executable.
-----

Just retrying will get it to work, but sometimes I have to
retry >100 times, so that can slow things down.

regards,

Michael

Subject: mbuild - error code

From: Manu Raghavan

Date: 29 Apr, 2008 17:37:02

Message: 2 of 3

Michael,

This is probably because there's a space in the path to the
compiler. See this solution for details, if you haven't
found it already:
http://www.mathworks.com/support/solutions/data/1-192FB.html?product=CO&solution=1-192FB

"Michael Timm" <timmersmichael@hotmail.com> wrote in message
<fr90es$dq9$1@fred.mathworks.com>...
> Hi,
>
> does anybody know what the following error signifies
> (couldn't find it in the manual).
>
> -----
> Error: An error occurred while shelling out to mbuild (error
> code = -1).
> Unable to build executable.
> -----
>
> Just retrying will get it to work, but sometimes I have to
> retry >100 times, so that can slow things down.
>
> regards,
>
> Michael
>

Subject: mbuild - error code

From: Ashish Uthama

Date: 2 May, 2008 20:00:31

Message: 3 of 3

I hope you added an additional 0 by accident.
Even then..retrying 10 times?? :)

Try compiling with the -v option (deploytool has an option for verbose =

output)

You might get a more detailed error message.

On Tue, 29 Apr 2008 13:37:02 -0400, Manu Raghavan =

<manu.raghavan@mathworks.com> wrote:

> Michael,
>
> This is probably because there's a space in the path to the
> compiler. See this solution for details, if you haven't
> found it already:
> http://www.mathworks.com/support/solutions/data/1-192FB.html?product=3D=
CO&solution=3D1-192FB
>
> "Michael Timm" <timmersmichael@hotmail.com> wrote in message
> <fr90es$dq9$1@fred.mathworks.com>...
>> Hi,
>>
>> does anybody know what the following error signifies
>> (couldn't find it in the manual).
>>
>> -----
>> Error: An error occurred while shelling out to mbuild (error
>> code =3D -1).
>> Unable to build executable.
>> -----
>>
>> Just retrying will get it to work, but sometimes I have to
>> retry >100 times, so that can slow things down.
>>
>> regards,
>>
>> Michael
>>
>

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us