Why do I get an error when I build an application using MATLAB Compiler 4.13 (R2010a)?
1 view (last 30 days)
Show older comments
I am trying to build a simple application using deploytool. The build fails generating the following error
lcclnk -o "O:\GLOBALMACRO\GLOBALCURRBOB\GLOBALCURRDATA\TEST2009B\SRC\test2009b.exe" -tmpdir "O:\GLOBALMACRO\GLOBALCURRBOB\GLOBALCURRDATA\TEST2009B\SRC\." -L"C:\PROGRA~1\MATLAB\R2009b\sys\lcc\lib" -libpath "C:\PROGRA~1\MATLAB\R2009b\extern\lib\win32\lcc" @C:\DOCUME~1\SHASTR\LOCAL SETTINGS\TEMP\MBUILD~1\MBUILD~1.RSP mclmcrrt.lib
impossible to open C:\DOCUME~1\SHASTR\LOCAL
Error: An error occurred while shelling out to mbuild (error code = 2).
Accepted Answer
MathWorks Support Team
on 20 Jun 2011
This bug has been fixed in Release 2011a (R2011a). For previous product releases, read below for any possible workarounds:
The ability to resolve a temp directory whose path has a space does not exist in MATLAB Compiler.
To work around this issue, set the temporary directory to a local folder whose path does not include any space. One can set the temporary directory for a MATLAB session using the following commands:
setenv('TEMP', 'PathToDir');
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!