Documentation

Icon and Dialog

Icon and block appearance for System object™

Methods

getIconImpl Name to display as block icon
getHeaderImpl Header for System object display
getInputNamesImpl Names of System block input ports
getOutputNamesImpl Names of System block output ports
getPropertyGroupsImpl Property groups for System object display
getSimulateUsingImpl Specify value for Simulate using parameter
showSimulateUsingImpl Simulate Using visibility
showFiSettingsImpl Fixed point data type tab visibility for System objects

Classes

matlab.System Base class for System objects
matlab.system.mixin.CustomIcon Custom icon mixin class
matlab.system.display.Action Custom button
matlab.system.display.Header Header for System objects properties
matlab.system.display.Section Property group section for System objects
matlab.system.display.SectionGroup Section group for System objects

Examples and How To

Define Block Icon

This example shows how to define the block icon of a System object–based block implemented using a MATLAB System block.

Specify System Block Input and Output Names

This example shows how to specify the names of the input and output ports of a System object–based block implemented using a MATLAB System block.

Add Header to MATLAB System Block

This example shows how to add a header panel to a System object–based block implemented using a MATLAB System block.

Add Property Groups to System Object and MATLAB System Block

This example shows how to define property sections and section groups for System object display.

Control Simulation Type in MATLAB System Block

This example shows how to specify a simulation type and whether the Simulate using parameter appears on the Simulink® MATLAB System block dialog box.

Add Button to MATLAB System Block

This example shows how to add a button to the MATLAB System block dialog box.

Add Data Types Tab to MATLAB System Block

This example shows how to add a Data Types tab to the MATLAB System block dialog box.

Define System Object for Use in Simulink

Develop System block and interactively preview block dialog box (with Simulink only).

Concepts

What Are System Objects?

Defines System objects and key uses

What Are Mixin Classes?

Mixin classes description

System Object Methods

Using methods to process or obtain information on System objects

Methods Timing

Order in which methods are called and executed

System Design in Simulink Using System Objects

Steps for designing systems in Simulink using System objects

System Objects in MATLAB Code Generation

Special considerations for using System objects in code generated from

MATLAB®

Was this topic helpful?