Main Content

target.add

Add target feature object to MATLAB memory

Description

example

target.add(targetFeatureObject) adds the specified target feature object to MATLAB® memory. By default, the target data is available only for the current MATLAB session.

example

target.add(targetFeatureObject, 'UserInstall', dataPersistence) controls persistence of target data over MATLAB sessions.

Examples

Input Arguments

collapse all

Specify the target feature object that you want to add to MATLAB memory.

Example: target.add(myTargetFeatureObject);

Control persistence of target data in MATLAB memory:

  • true –– Target data persists over multiple MATLAB sessions.

  • false –– Target data is available only for the current MATLAB session.

Example: target.add(myTargetFeatureObject, 'UserInstall', true);

Data Types: logical

Introduced in R2019a