Executable created with Application Compiler works only for limited amount of time
Mostra commenti meno recenti
I am creating an executable using the Application Compiler of MATLAB 2018b. When building it, it incorporates all the "required files", that is, all the necessay .m files and also a few .jpeg and .png picture files used by the UI. This executable works perfectly fine on my two PCs, it's self-contained and never complains about missing files, wherever the executable may be located. The same is true when I test it on some of my colleagues' computers.
However, for some other colleagues, it works fine for a few days and then stops working all the sudden. It either crashes w/o information or complains about missing .jpeg and .png files, all of them which are part of the package. I have to provide them with a new copy of the executable, which solves the problem for a few days and then stopps working again...
I created 3 versions, one with "opengl software", one with "opengl hardware", one wiuthout any opengl indication, in case the issue is related to opengl but that did not solve the problem.
We all use the same runtime compiler version 9.5.
Would you have any suggestion?
Thanks
5 Commenti
Walter Roberson
il 25 Ago 2021
Hypothetically:
There might be system "cleanup" software or anti-virus or "optimization" software running, that is removing part of the expanded CTF.
This could be explored by installing the executable, taking a record of which files are in the expansion directory, and then after it fails, looking to see which files are present.
Philippe Tardy
il 25 Ago 2021
Steven Lord
il 25 Ago 2021
The files in the MATLAB Runtime are encrypted as stated on this documentation page. If you were to open one you wouldn't be able to read the source code.
Philippe Tardy
il 25 Ago 2021
Philippe Tardy
il 26 Ago 2021
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su MATLAB Compiler in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!