Main Content

getHeaderImpl

Class: matlab.System

Header for System object display

Syntax

header = getHeaderImpl

Description

header = getHeaderImpl specifies the dialog header to display on the MATLAB® System block dialog box. If you do not specify the getHeaderImpl method, no title or text appears for the header in the block dialog box.

Run-Time Details

getHeaderImpl is called by the MATLAB System (Simulink) block.

Method Authoring Tips

You must set Access = protected for this method.

Output Arguments

expand all

Header text specified as a matlab.system.display.Header (Simulink) class.

Examples

expand all

Define a header in your class definition file for the EnhancedCounter System object™.

 methods (Static, Access = protected)
    function header = getHeaderImpl
       header = matlab.system.display.Header('EnhancedCounter',...
           'Title','Enhanced Counter');
    end
 end
Introduced in R2013b