Main Content
getIconImpl
Name to display as block icon
Syntax
icon = getIconImpl(obj)
Description
icon = getIconImpl(obj)
specifies the text or image to display on
the block icon of the MATLAB System block. If you do not
specify the getIconImpl
method, the block displays the
class name of the System object™ as the block icon. For example, if you specify pkg.MyObject
in the MATLAB System block, the default icon
is labeled MyObject
Run-Time Details
getIconImpl
is called by the MATLAB System block during
Simulink® model compilation.
Method Authoring Tips
You must set Access = protected
for this method.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2017a