MATLAB: How to make a path relative instead of absolute when I deploy the app as a standalone
absolute pathdeploytoolMATLAB Compilerrelative path
I'm using the MATLAB Compiler GUI to manage my project and the deploytool function to generate the .exe. I've noticed that the main file and the "files required for your application to run" are stored with absolute path (unlike all other parameters when I looked at the .prj file with text editor). This leads to an error if someone else gets the project and try to generate the .exe.
Is there a way to make all path relative without having to modify the .prj file with a text editor afterward?
Related Question
- How to use an external settings file to allow a user of the compiled standalone application to configure the application
- How to create a .prj GUI project file from command prompt
- Does the deployed application fail if I use Icons provided by MATLAB in the code
- Does the .NET option disappear from the Project Settings when I use DEPLOYTOOL in MATLAB 7.3 (R2006b)
- Is there an additional directory level between the ctfroot and the files I include with the compiled application
- Do I receive a “Not a valid project” error when I try to open a deploytool project in MATLAB R2014b
- Does creating a standalone application generate a warning regarding “startup.m” adding paths
Best Answer