set deploytool for compile activex

 采纳的回答

Chirag Gupta
Chirag Gupta 2011-7-5

2 个投票

You can compile GUI's and other MATLAB programs that make calls to activex controls into exe's using the MATLAB compiler. What you need to ensure is that the activex control that you are planning to access is available on the deployed machines or you could include it with deploytool.
Add the .ocx or the COM file directly as additional files with deploytool.
If you are using mcc use the -a option.

1 个评论

Would it perhaps also be necessary to "register" the activeX control? If I recall correctly, registering an activeX control requires administrator access?

请先登录,再进行评论。

更多回答(1 个)

Do you mean you want to create COM components from MATLAB code? If yes, you need MATLAB Builder NE.

2 个评论

how to check, whether contained in the program that I have?
how to compile it, can you explain the steps?

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by