Error in extracting CTF file / Could not close zip entry that was open for read

Hello, I'm using software that runs on Matlab runtime R2016b (9.1) x64 on windows 8.1
When I run the exe from a command line it exits with the following:
C:\>Error in extracting CTF file to 'L:\Temp\Alex\Alex\mcrCache9.1\FlopFa0'. Details: 'Could not close zip entry that was open for read' Could not access the MATLAB Runtime component cache. Details: Some error has occurred in the file: b:\matlab\standalone\mclmcr\core\mclctffileextractor.cpp, at line: 64. The error message is: Error in extracting CTF file to 'L:\Temp\Alex\Alex\mcrCache9.1\FlopFa0'. Details: 'Could not close zip entry that was open for read'
L:\Temp is the environment var temp.
So far I've tried:
  • reinstalling (including deleting the runtime dir after uninstall)
  • installing to different drives
  • moving the temp folder to other drives
But the error is the same. If anyone could offer any insight/suggestiosn I'd appreciate it.
Thanks

Respuestas (2)

The issue could be caused by the folder containing the MATLAB Runtime component cache if the file permissions prevent a read, or the file was corrupted.
Go to the directory
"C:\Users\<userid >\AppData\Local\Temp\<userid>\mcrCacheX.XX"
and delete the folder so it can be regenerated. I think it could resolve the issue.
Karan
LOL thanks, I love that you answered the question albeit 6.5 years later. That's awesome.
I must have found a workaround ;-)
A

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 9 de Ag. de 2018

Respondida:

el 4 de Feb. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by