Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I work with matlab 2011 -B in windows xp sp3
when I want to build dll file(generic com component) from mfile I face the error like this:

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



what should I do?
Posted
Updated 30-Nov-12 7:10am
v2
Comments
Richard MacCutchan 30-Nov-12 13:10pm    
What is mfile?
TRK3 30-Nov-12 17:23pm    
The error code might be a windows system error code.

In that case, error code 2 = ERROR_FILE_NOT_FOUND.

You probably have a file name or directory name spelled wrong, or you left off a file extension, or you need to specify a full path because the working directory isn't the directory you think it is.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900