主要内容

coder.buildhookcontext.AfterTLC Class

R2026b

Namespace: coder.buildhookcontext

Provide information about build process after code generation

Since R2026b

Description

The coder.buildhookcontext.AfterTLC class provides information about the build process after code generation and before compilation and linking.

Properties

expand all

Name of the target model, returned as a character vector.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: char

Configuration set for the target model, returned as a Simulink.ConfigSet object.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: Simulink.ConfigSet

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 target model, returned as a target.Toolchain object.

This property is empty if you use the template makefile approach, or if you use a toolchain defined using coder.make.ToolchainInfo.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: target.Toolchain

Name of the toolchain for building the target model, returned as a character vector.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: char

Whether the target model 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

Whether the target model is built as a model reference, returned as a numeric or logical 1 (true) or 0 (false).

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: logical

Path to and name of the system target file, returned as a character vector.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: char

Root folder for the code generation files and generated code, returned as a character vector.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: char

Root folder containing the generated code, returned as a character vector.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: char

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

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: RTW.BuildInfo

Whether the generated code is new or replaces existing generated code, returned as one of the following:

  • 1 (true) — Code is newly generated.

  • 0 (false) — Code is not newly generated.

Attributes:

GetAccess
public
SetAccess
immutable

Data Types: logical

Version History

Introduced in R2026b