필터 지우기
필터 지우기

Compiled application crashing due to fig files being deleted from the Temp folder

조회 수: 1 (최근 30일)
I made a compiled application running in MCR 9.3 (2017b). The application contains several fig files.
I know that when a compiled application runs, it unpacks all the files into a folder within the system temp folder (%TEMP%).
The application started normally and I could access al the features of the application that required the fig files it depends on. Then, suddenly, it starts to crash and show errors because it cannot find the fig files. I went to the temp folder, where the fig files should've been unpacked, and all the fig files were gone. All the other types (*.m, *.mat, *.dat, etc.) were still there.
If I delete the entire folder and run the application again, it will work. But it will eventually happen the same problem. This problem does not always happen, and it seems a bit random...
I know that a setting in Windows makes it clean the temp folder automatically, but I never saw it selectively deleting certain types of files.
Does anyone know how to prevent this?

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by