필터 지우기
필터 지우기

Could not access the MCR component cache Error

조회 수: 160 (최근 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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by