Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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?

Respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by