matlab.system.mixin.CustomIcon - Custom icon mixin class - MATLAB (original) (raw)
Main Content
Namespace: matlab.system.mixin
The matlab.system.mixin.CustomIcon
mixin will be removed in a future release. You no longer need to inherit from this mixin in your System object. The associated getIcon
method has been moved to the matlab.System 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.
Version History
Introduced in R2017a
The matlab.system.mixin.CustomIcon mixin will be removed in a future release. You no longer need to inherit from this mixin in your System object. The associated method has been moved to the matlab.System class.
Remove matlab.system.mixin.CustomIcon from the classdef
line of your System object.