saveTarget

Syntax

saveTarget(targetObj)

Description

example

saveTarget(targetObj) saves the target represented by the Target object, targetObj.

This function saves the information that describes a target to its framework. The framework is a set of folders and files that implements a target. This function also adds the framework folders to the MATLAB® path.

Examples

collapse all

Construct an object, tgt, that represents the target.

hTgt = createTarget('My Target','ARM Cortex-M','c:/mytarget');

Save your target. This function updates the target framework and adds the necessary target folders to the MATLAB path.

saveTarget(tgt);

Input Arguments

collapse all

Handle to Target object.

Introduced in R2015a