Documentation

copy

Copy a configuration set

Syntax

copyCs =有限公司py(cs)

Description

example

copyCs= copy(cs)returns a copy of a configuration set.

Examples

collapse all

Create a copy of a configuration set and attach it to a model.

Get the active configuration set for your model.

activeConfig = getActiveConfigSet ('vdp');

Copy the active configuration set.

develConfig = copy(activeConfig);

Give the copied configuration set a name.

develConfig.Name ='develConfig';

Attach the new configuration set to the model.

attachConfigSet('vdp',develConfig);

Input Arguments

collapse all

Configuration set object to copy, specified as aConfigSetobject.

Output Arguments

collapse all

A copy of the configuration set, specified as aConfigSetobject.

Introduced before R2006a

Was this topic helpful?