COM generic components and mclInitializeApplication of MatlabRuntime

4 ビュー (過去 30 日間)
orlando
orlando 2012 年 6 月 7 日
I have a set of generic COM components generated with the Deployment tool, and I would like to know whether I can include in these the functionality to (De)initialize the MatlabRuntime. I've seen some examples in the documentation about mclInitializeApplication but those apply to a Shared Library, which I know is a different deployment mean. Can you please refer me to some examples/information that clarifies how can I (De)Initialize the Matlab ruintime within a Generic COM component .dll? Thanks in advance

採用された回答

Kaustubha Govind
Kaustubha Govind 2012 年 6 月 8 日
I'm assuming you use MATLAB Builder NE to generate the COM component? I haven't done this myself, but looking at the programming example here, it seems like the MCR (MATLAB Compiler Runtime) is automatically (un)initialized when the component is (un)initialized.
  9 件のコメント
Kaustubha Govind
Kaustubha Govind 2012 年 6 月 29 日
Oh no. Sorry to hear that. Not sure when it was introduced, but the documentation is here: http://www.mathworks.com/help/releases/R2011b/toolbox/compiler/f12-999353.html#br2jauc-39
I'm out of ideas at this point. Perhaps you could try contacting MathWorks Tech Support for your issue?
orlando
orlando 2012 年 7 月 11 日
HI Kaustubha, I'm also running out of ideas. Thanks though for the support ;-) I'll see whether I contact Tech support.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCOM Component Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by