Why does my CTF archive file re-extract every time I run a deployed application created with MATLAB Compiler 4.0 (R14)?

1 view (last 30 days)
I have created a stand-alone executable using MATLAB Compiler 4.0 (R14), and have successfully deployed it on another machine. However, every time I run the application, the CTF archive extracts. I have not modified or removed the directory created by the extraction process.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Oct 2013
This issue can occur when the timestamp on the CTF archive and/or the EXE-file for the deployed application appear to be in the future, compared to the system clock on the deployed machine. This is generally due to a faulty time setting either on the compilation machine or the deployment machine, and can be corrected by fixing the system clock on these machines.
To correct this issue, operating system utilities can be used to modify the timestamp of the CTF-file and EXE-file.
With newer versions of MATLAB, the CTF does not extract each and every time, only the first time. For all subsequent runs, the extracted CTF is used.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!