How can I use ActiveX to open an external application from MATLAB?

I want to use ACTXSERVER or ACTXCONTROL with a 3rd party application, such as Adobe Acrobat Reader and or Microsoft Notepad. I have not been able to locate the appropriate program identifier or associated methods for these applications.

 Accepted Answer

The COM Automation Program Identifier (ProgID) and related methods are not standardized and must be documented by each program. For example, you can find information on calling MATLAB via COM Automation here:
 
MATLAB COM Automation Server: https://in.mathworks.com/help/matlab/call-matlab-com-automation-server.html
For the equivalent information for another program, refer to the COM interface documentation for that software.
You can browse the installed ActiveX controls by using the ACTXCONTROLSELECT function. However, this should not be considered a replacement for program-specific documentation.
h = actxcontrolselect
For more information on the ACTXCONTROLSELECT function, type the following at the MATLAB command prompt:
doc actxcontrolselect

More Answers (0)

Products

Tags

Community Treasure Hunt

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

Start Hunting!