Why do I receive a "MCR Instance not available" message when executing a COM object create with MATLAB Builder for COM/.NET/Excel?
6 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2010 年 11 月 9 日
編集済み: MathWorks Support Team
2014 年 6 月 5 日
I have installed a new version of my COM object created with MATLAB Builder for COM, MATLAB Builder for .NET, or MATLAB Builder for Excel on my deployment machine. When using the new version, I receive an error message box containing the following message:
MCR Instance not available
採用された回答
MathWorks Support Team
2013 年 10 月 18 日
This error often occurs when the extracted <appname>_mcr directory tree appears newer than the new CTF-file. <appname> refers to the name of your executable. This can occur when there is a difference between the system clocks on the development and deployment machines.
To work around this issue, delete the old <appname>_mcr directory tree when installing a new COM object. This will force extraction of the new CTF-file.
If the system clocks differ significantly and are not in different time zones, you may want to synchronize both with a network time source; this situation can cause problems in other file sharing as well.
You may also receive an error if the system clocks differ when using MATLAB Compiler applications, though you will receive a different error message. For more information, see the Related Solution below.
Another cause would be that the dll was created from Trial / Demo MATLAB license and it has expired. Check the packaging log which should indicate if the Add-In was built with DEMO / Trial license.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で COM Component Integration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!