Main Content

info

Class: coder.make.BuildTool
Package: coder.make

Display build tool properties and values

Syntax

h.info

Description

h.info returns information about the coder.make.BuildTool object.

Input Arguments

expand all

Object handle for a coder.make.BuildTool object, specified as a variable.

Example: tool

Examples

Starting from the Add Custom Toolchains to MATLAB® Coder™ Build Process example, enter the following lines:

tc = intel_tc;
tool = tc.getBuildTool('C Compiler');
tool.info
##############################################
# Build Tool: Intel C Compiler
##############################################

Language              : 'C'
OptionsRegistry       : {'C Compiler','CFLAGS'}
InputFileExtensions   : {'Source'}
OutputFileExtensions  : {'Object'}
DerivedFileExtensions : {'|>OBJ_EXT<|'}
SupportedOutputs      : {'*'}
CommandPattern        : '|>TOOL<| |>TOOL_OPTIONS<| |>OUTPUT_FLAG<||>OUTPUT<|'

# ---------
# Command
# ---------
CC = icl
CC_PATH  = 

# ------------
# Directives
# ------------
Debug              = -Zi
Include            = 
IncludeSearchPath  = -I
OutputFlag         = -Fo
PreprocessorDefine = -D

# -----------------
# File Extensions
# -----------------
Header = .h
Object = .obj
Source = .c