MATLAB Answers

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

9 views (last 30 days)
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

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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.

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags

Products


Release

R2008b