Not able to run Matlab Standalone Executable

4 ビュー (過去 30 日間)
Dr. Seis
Dr. Seis 2013 年 6 月 13 日
I have several Matlab functions that I have turned into standalone executables and have had success running them on several different machines (all Unix) in the not-so-distant past. All of a sudden I cannot run these programs and get the message:
Could not access the MCR component cache.
The weird part is that other people are able to run these standalone executables on their remote machines, but even if I log into their remote machines using my own user credentials I cannot get it to run.
It does not make sense that this message would pop up for me, but not for someone else logged on to the same machine.
Any ideas?

採用された回答

Kaustubha Govind
Kaustubha Govind 2013 年 6 月 13 日
Please look at this previous answer.
  4 件のコメント
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.
Dr. Seis
Dr. Seis 2013 年 6 月 15 日
... Well I thought it was resolved. Now even after deleting the .mcrCache* directories, I still get the same error as above.
Not sure what is going on.

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

その他の回答 (1 件)

Dr. Seis
Dr. Seis 2013 年 6 月 16 日
編集済み: Dr. Seis 2013 年 6 月 16 日
.mcrCache* files getting corrupted turned out to be the symptom rather than the cause of my issues.
The actual reason (as I just discovered) is a disk quota issue that might also manifest itself as a permissions issue. Where I work, there is tons of disk space except for our "home" directories - we are only given 2GB of space for our home directory. What had happened is that during the course of testing a program (which was writing out a fairly large text file) it had caused my disk space to exceed my 2GB quota (which I didn't realize immediately). I was also receiving an error in the command window:
The desktop configuration was not saved successfully
... which (from documentation) usually pops up with permissions issues and disk space issues.
  1 件のコメント
Kaustubha Govind
Kaustubha Govind 2013 年 6 月 17 日
Thanks for posting your findings!

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

カテゴリ

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