Main Content

saveTarget

Description

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.

example

Examples

collapse all

You can save the information that describes a target object to its framework.

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.

Version History

Introduced in R2015a