matlab.system.mixin.CustomIcon class

Package: matlab.system.mixin

Custom icon mixin class

Description

matlab.system.mixin.CustomIcon is a class that defines 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

Methods

getIconImplName to display as block icon
Was this topic helpful?