icon — Fully qualified icon name character vector | string scalar
Fully qualified icon name, specified as a character vector or string scalar. The
fully qualified name is the name of the toolstrip component followed by a colon and the
full path to the icon within the toolstrip component.
When an icon is defined at the top level of a toolstrip component, the fully
qualified icon name consists of these parts:
Name of the toolstrip component followed by a colon
Icon ID
When an icon is defined in the JSON object for a top-level action, the fully
qualified icon name consists of these parts:
Name of the toolstrip component followed by a colon
Action ID
When an icon is defined in the JSON object for a nested action, the fully qualified
icon name consists of these parts:
Name of the toolstrip component followed by a colon
Tab ID followed by a forward slash
Section ID or index followed by a forward slash
Column ID or index followed by a forward slash
Control ID or index
Example: slEditToolstripIcon("custom:myIcon") opens the file that
defines myIcon for the custom toolstrip
component.
Example: slEditToolstripIcon("custom:customTab/2/1/3") opens the
file that defines the icon for the third control in the first column of the second
section on the tab named customTab in the custom
toolstrip component.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.