set deploytool for compile activex

 Accepted Answer

Chirag Gupta
Chirag Gupta on 5 Jul 2011
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 Comment

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

Sign in to comment.

More Answers (1)

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

2 Comments

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

Sign in to comment.

Products

Tags

Community Treasure Hunt

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

Start Hunting!