Why are my preference files included in my stand-alone application created with MATLAB Compiler 4.9 (R2008b)?

If I look in the cache folder that my compiled application creates, I can see that the .matlab folder contains my preference files with my last development activities in plain text. The files are: cwdhistory.m, history.m, matlab.prf, MATLAB_Editor_State.xml, etc.
How can I avoid the inclusion of these files in the stand-alone application?

 Accepted Answer

The stand-alone does not include your preference files. You can see the preference files in the cache folder because you are running the stand-alone in your development environment. At runtime, the stand-alone determines those preferences from a local MATLAB installation and copies them to the cache folder for it's own use.
If you run your stand-alone application on a machine without a MATLAB installation, you will see that the cache folder does not contain your preference files.

More Answers (0)

Categories

Products

Release

R2008b

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!