Documentation

actxcontrollist

List currently installedMicrosoftActiveXcontrols

Syntax

info = actxcontrollist

Description

example

info= actxcontrollistreturns a list of controls

Examples

collapse all

MATLAB®displays information relevant to your installation.

list = actxcontrollist;fork = 1:numel(list)/3ifcontains(list{k,1},'mwsamp2','IgnoreCase',true) control = sprintf(' Name = %s\n ProgID = %s\n File = %s\n', list{k,:})break;endend
control = ' Name = Mwsamp2 Control ProgID = MWSAMP.MwsampCtrl.2 File = C:\Program Files\MATLAB\R2017a\toolbox\matlab\winfun\win64\mwsamp2.ocx '

Output Arguments

collapse all

Information specified as a 1-by-3 cell array of character vectors containing the name, programmatic identifier (ProgID), and file name for the control. Each control has one row, which MATLAB sorts by file name.

Limitations

  • COM functions are available on Microsoft®Windows®systems only.

Introduced before R2006a

Was this topic helpful?