Invalid toolbox directories in R2007b compiler deploytool



I have just upgraded from R2006b to R2007b and am having
trouble compiling standalone apps with R2007b's deploytool,
but had no trouble with the same code in R2006b. I am using
the mcc compiler. My path has all the necassary directories.
I have defined all my files in the deploytool, and specified
which toolboxes I want to include (Mapping and Stats). When
I click 'build' I get errors saying:

Compiler version: 4.7 (R2007b)
Depfun error: 'Invalid directory:
D:\Programming\Matlab\UBC_GIF\ModelBuilder_development\stats'
mcc -o 'buildModel2' -W 'WinMain:buildModel2' -d
'D:\Programming\Matlab\UBC_GIF\ModelBuilder\src' -T
'link:exe' -v -N -p
'D:\Programming\Matlab\UBC_GIF\ModelBuilder_development\stats'
-p ...(etc)

It clearly looks like it is looking for the stats and
mapping toolboxes in my local directories, and not in the
toolbox installation directories. When I copy the relevant
mcc command into the command window, edit the directories,
and hit enter, everything compiles fine.

The toolboxes seem to work fine in regular scripts. How do I
make them have the correct directories in deploytool?

Thanks,
Nick
.



Relevant Pages

  • problems compiling a gui incl. fdatool - call
    ... Some of these functions may be from toolboxes that you are ... This will cause MATLAB Compiler ... directories in addition to the MATLAB directories. ...
    (comp.soft-sys.matlab)
  • deploytool and mcc do not work - Error executing mcc, return status = 1 (0x1)
    ... When trying to use the deploytool in v2009b to compile a c++ shared library the compilation fails. ... The source file does not exist because nothing is created by the compiler. ... If I try using mcc here is the complete log I get in verbose mode: ... Error executing mcc, ...
    (comp.soft-sys.matlab)
  • Re: Stand alone app --with 50 m files
    ... deploytool is the new graphical user interface for MATLAB ... Compiler ... and the other deployment tools. ... The deploytool GUI will enable you to add the files just once. ...
    (comp.soft-sys.matlab)
  • compile form shell problem
    ... I'm using the matlab compiler Version 4.3 and I run it from a shell ... My question is how I can add constant path (of all the toolboxes) to ...
    (comp.soft-sys.matlab)
  • Matlab builder for Java
    ... deploytool to build my Java applications, the Standalone ... compiler works well but the compiler for the Java does not. ...
    (comp.soft-sys.matlab)