matlab.system.mixin.CustomIcon class

Package: matlab.system.mixin

Custom icon mixin class

Description

matlab.system.mixin.CustomIcon is a class that specifies the getIcon method. This method customizes the name of the icon used for the System object implemented through a MATLAB System block.

To use this method, you must subclass from this class in addition to the matlab.System base class. Type the following syntax as the first line of your class definition file, where ObjectName is the name of your object:

classdef ObjectName < matlab.system &...
    matlab.system.mixin.CustomIcon

The matlab.system.mixin.CustomIcon class is a handle class.

Introduced in R2017a