"Daniel " <email@example.com> wrote in message <firstname.lastname@example.org>... > Hello everyone, > > I have been using "onCleanup" to do some work when a program exists, such as deleting some files, writing something to files, and so on. It also works when I press Ctrl-C. Everything is fine in the MATLAB environment. > > However after I compile (deploy) the MATLAB program, onCleanup doesn't work when I press Ctrl-C. The files I want to delete when the program exists are still there. Some files I want to update remain unchanged. I don't understand what causes the problem. How should I do to make it work? Thanks! > > Daniel
Sounds like a good time to contact Technical Support, 508-647-7000, press 2.