matlabshared.targetsdk.Target Class
Namespace: matlabshared.targetsdk
An object for the target being developed
Description
A Target object represents the collection of configuration files, source and
header files, tools, and libraries that Embedded Coder® uses to build, download, run, and interact with your model as an
executable on a selected hardware board. A group of tools, libraries, and configurations
that serve a specific purpose defines a feature of the
Target object. Features are represented as objects, such as a
Deployer object, assigned to
properties of the Target object.
Each feature of the Target object can be mapped, using the map method, to a Hardware object. Mapping features of a Target object to a
Hardware object adds the needed files and configuration information
to the target files enabling those features in the Simulink® configuration parameters for the associated hardware board.
While each feature in a Target can be developed manually, you can
create a new Target object that already includes many features from an
existing Reference Target. Using a Reference
Target, you only need to add or modify the features unique to your
Target.
Tip
Creating a Target from a Reference Target
can greatly accelerate your development time by providing ready-to-use features and
is the recommended strategy for developing a new Target.
Creation
To construct a target object, use the createTarget function.
Properties
Methods
Examples
Version History
Introduced in R2015a
See Also
createTarget | BaremetalScheduler | Deployer | ExternalMode | Hardware | OperatingSystem | PIL