Contenuto principale

coder.buildhookcontext.MATLABCoder Class

R2026b

Namespace: coder.buildhookcontext

Provide information about build process at hook point

Since R2026b

Description

The coder.buildhookcontext.MATLABCoder class provides information about the build process at the entry, afterCodeGeneration, or afterMake hook points.

Properties

expand all

Coder configuration information, returned as a coder.config object.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: coder.config

Information for compiling and linking the generated code, returned as an RTW.BuildInfo object.

For the entry hook point, this property is empty.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: RTW.BuildInfo

Whether the code generator is configured to generate code only, returned as a numeric or logical 1 (true) or 0 (false).

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: logical

Information about the target hardware board, returned as a target.Board object.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: target.Board

Information about the toolchain for building the generated code, returned as a target.Toolchain object.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: target.Toolchain

Name of the toolchain for building the generated code, returned as a character vector.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: char

Version History

Introduced in R2026b