Main Content

getHeaderImpl

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 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 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

Version History

Introduced in R2013b