MATLAB: Loading data files deployed with standalone exe.

guiMATLABstandalone

I have a standalone exe and I want to add some data files to deploy with it. Currently I make the user browse to the files, but I want to include these files as part of the package and have them automatically load based on settings the user has chosen.
How do I load these files as I need them?

Best Answer

Use deploytool -a to add the files. And read the documentation for ctfroot() and isdeployed()