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

26 ビュー (過去 30 日間)
Alex Maher
Alex Maher 2018 年 8 月 9 日
回答済み: Alex Maher 2025 年 2 月 4 日 12:38
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

回答 (2 件)

Karan Singh
Karan Singh 2025 年 2 月 4 日 6:38
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

Alex Maher
Alex Maher 2025 年 2 月 4 日 12:38
LOL thanks, I love that you answered the question albeit 6.5 years later. That's awesome.
I must have found a workaround ;-)
A

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by