MATLAB Compiler Previous page   Next Page

Running Deployed Applications

If you use a relative path to start a deployed application from a directory that is not your working directory, it may fail. For example, if you execute your application using

you may see the error

Using a relative path is not supported directly. When you start a program from a directory using a relative path, your actual working directory is not the directory of the executable. The working directory must be the same as the executable for the CTF file to be found or else the directory containing your CTF file must be on your system path. Therefore, you must start your application from its directory or else modify your system path.


Previous page  Using MAT-Files in Deployed Applications Compiling a GUI That Contains an ActiveX Control Next page

© 1994-2005 The MathWorks, Inc.