主要内容

matlabshared.targetsdk.BuildConfiguration class

Package:matlabshared.targetsdk
Superclasses:

Configuration that describes how to build generated code

Description

ABuildConfigurationobject that specifies the build configuration for a toolchain that is defined as the application deployment mechanism for your target. For example, a build configuration might define compiler defines and paths for include files.

Construction

H= BuildConfiguration(configurationName)returns a build configuration objectH, with theName属性设置为字符串configurationName.

Input Arguments

expand all

的名字BuildConfigurationobject, specified as a string.

Data Types:char

Properties

expand all

The assembler flags used when compiling code with this build configuration, specified as a string. The default is''.

Data Types:char

The C compiler flags used when compiling code with this build configuration, specified as a string. The default is''.

Data Types:char

The C++ compiler flags used when compiling code with this build configuration, specified as a string. The default is''.

Data Types:char

The C++ linker flags used when linking code with this build configuration, specified as a string. The default is''.

Data Types:char

用此构建配置编译代码时所使用的附加路径,指定为字符串的单元格数组。默认值为{}.

Data Types:cell

The include paths to be excluded when compiling code with this build configuration, specified as a cell array of strings. The default is{}.

An include path may include tokens. If a path separator is included as part of the path, it must be valid for all supported host platforms.

Data Types:cell

将代码与此构建配置链接为字符串时使用的C链接标志。默认值为''.

Data Types:char

The additional link objects used when linking code with this build configuration, specified as a cell array of strings. The default is{}.

A link object must include a full path. The path may include tokens. If a path separator is included as part of the path, it must be valid for all supported host platforms.

Data Types:cell

的名字BuildConfigurationobject, specified as a string. The default is''.

Data Types:char

The additional source files used when compiling code with this build configuration, specified as a cell array of strings. The default is{}.

Data Types:cell

The source files to be excluded when compiling code with this build configuration, specified as a cell array of strings. The default is{}. A source file must include a full path. The path may include tokens. If a path separator is included as part of the path, it must be valid for all supported host platforms.

Data Types:cell

方法

addNewBaseRateTrigger Add new base rate trigger to bare metal scheduler
deleteBaseRateTrigger Delete base rate trigger from bare metal scheduler
在R2015a中引入