"File cannot be found" error obtained when running compiled app
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 8 Sep. 2020
Beantwortet: MathWorks Support Team
am 23 Feb. 2021
Why do I get the following error when running the standalone app file (.EXE) generated on compiling my app in MATLAB R2019B?
Error using matlab.ui.control.internal.model.mixin.IconableComponent/set.Icon (line 54)
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
The required files and images have been compiled along with the app, and the issue is only observed on a particular system.
Akzeptierte Antwort
MathWorks Support Team
am 8 Sep. 2020
When running the standalone app, all files compiled into the application will automatically be on the MATLABPATH at runtime, and hence this error should ideally not be generated. The cause for this error to be generated on the particular system could be a cache corruption on the particular system. Deleting the following cache folder and restarting the system should fix the issue:
%TEMP%\%UserName%\mcrCache9.7
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!