How to resolve the error "Could not access MATLAB Runtime component cache fl:filesystem:InvalidArgument"?
48 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 1 de Ag. de 2024
Respondida: MathWorks Support Team
el 1 de Ag. de 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?
Respuesta aceptada
MathWorks Support Team
el 24 de Mzo. de 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 comentarios
Más respuestas (0)
Ver también
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!