How to resolve the error "Could not access MATLAB Runtime component cache fl:filesystem:InvalidArgument"?
69 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 1 Août 2024
Réponse apportée : MathWorks Support Team
le 1 Août 2024
I am attempting to run a compiled application. However, I am encountering the following error:
Could not access the MATLAB Runtime component cache.
Details: fl:filesystem:InvalidArgument; component cache root:;
componentname: APP_NAME
How can I resolve this error?
Réponse acceptée
MathWorks Support Team
le 24 Mar 2025
This error indicates a corrupted MATLAB Runtime cache for this application. Please try the following:
1) Please delete the application cache root folder by following
.
If the error comes from a MATLAB Web App Server application, its default cache folder is "C:\ProgramData\MathWorks\webapps\<release>\USR\.appCache\mcrCache<version>" on Windows.
Then restart the application.
2) If step 1 does not resolve the issue, create a new system environment variable "MCR_CACHE_ROOT" with a value such as "C:\Temp", then restart the application. This should resolve the issue. Note that you may need to log out and back for the environment variable change to take effect. See Documentation page for more details
.
3) If neither of these steps resolve the issue, set the following environment variables, log out, log back in, and then launch the application. Please reach out to MathWorks Technical Support with the resultant log file to determine cause and possible solutions.
MW_DIAGNOSTIC_SPEC "deployment::.*=all"
MW_DIAGNOSTIC_DEST "file=<log file path>"
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Compiler dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!