Main Content

coder.BuildLog Properties

Build logs produced during code generation

coder.BuildLog properties contain the description of a build log that is produced during code generation from MATLAB® code. Build logs contain compilation and linking errors and warnings. All coder.BuildLog properties are read-only. You can use dot notation to query these properties.

You do not directly create a coder.BuildLog object. A coder.ReportInfo object contains one coder.BuildLog object for every build log produced during code generation. These coder.BuildLog objects are automatically created when you export code generation report information to a coder.ReportInfo object. For more information, see coder.ReportInfo Properties and Access Code Generation Report Information Programmatically.

This property is read-only.

Type of the build log produced during code generation from MATLAB code, specified as one of the values in this table.

ValueDescription
'Target'

The example main is not compiled.

'Example'

The example main is compiled and linked to create a test executable.

Data Types: char

This property is read-only.

Contents of the build log produced during code generation from MATLAB code, specified as a character vector.

Data Types: char

Version History

Introduced in R2019b