フィルターのクリア

Could not access the MCR component cache Error

136 ビュー (過去 30 日間)
Aarshabh
Aarshabh 2012 年 3 月 27 日
コメント済み: Erik Choueri 2023 年 7 月 24 日
Im getting an error where the command window closes immediately after I click on an executable file developed using Matlab. The error message reads "Could not access the MCR component cache". I am using a pre-packaged executable and MCR on 64bit Windows (the MCR version is correct). The executable was working fine but suddenly stopped working yesterday after I closed-restarted it a few times. I reinstalled the MCR but it gives me the same error.
I am a novice in Matlab so any ideas are much appreciated.
  1 件のコメント
Jed
Jed 2021 年 6 月 22 日
This can occur if you fill up the disk that contains your mcrCache.

サインインしてコメントする。

採用された回答

Kaustubha Govind
Kaustubha Govind 2012 年 3 月 27 日
Not sure, but could it be that the extracted CTF archive somehow got corrupted? I think it is usually extracted to C:\user_name\AppData\Local\Temp\userid\mcrCachen.nn (where the 'n' stands for a number). If you can find the file, perhaps you can delete it and run your executable again to see if it is regenerated. If you can't find it, you could try deleting the files in your Temp folder (usually C:\user_name\AppData\Local\Temp\) and try again.
  6 件のコメント
Dr. Seis
Dr. Seis 2013 年 6 月 15 日
I am running Matlab on a Linux workstation. These .mcrCache* were directories that were located inside my "home" directory (e.g., /home/{user name}) instead of my Matlab working directory (e.g., /home/{user name}/Matlab).
Once I deleted all the directories, the problem was resolved.
Erik Choueri
Erik Choueri 2023 年 7 月 24 日
Thank you very much!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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