Contenido principal

target.Support Class

R2026b

Namespace: target

Specify association between target namespace objects

Since R2026a

Description

Use a target.Support object to specify an association between target namespace objects. For example, you can use a target.Support object to:

  • Specify that a target object runs on a target device (target.Board object) or an operating system (target.OperatingSystem object).

  • Define dependencies, such as compiler flags to add to the build, that are specific to a combination of target device and toolchain (target.Toolchain object).

  • Specify Simulink® Coder™ and MATLAB® Coder build hooks that are specific to a particular target device. For an example, see Customize Build Process for Target Hardware Using Target Framework.

Class Attributes

HandleCompatible
true

For information on class attributes, see Class Attributes.

Creation

To create a target.Support object, use the target.create function.

Properties

expand all

Object name, specified as a string scalar or character vector.

Attributes:

GetAccess
public
SetAccess
public

The supported target objects, specified as a target namespace object array.

Attributes:

GetAccess
public
SetAccess
public

The target objects that supported target objects run on, specified as a target namespace object array.

Attributes:

GetAccess
public
SetAccess
public

The target object dependencies, specified as a target namespace object array.

Attributes:

GetAccess
public
SetAccess
public

Examples

collapse all

For a workflow that uses a target.Support object, see Set Up PIL Connectivity for Linux-Based Target Hardware (Embedded Coder).

Version History

Introduced in R2026a

expand all