主要内容

CopyData

Create data object from copy of existing object

    Description

    newD = CopyData(PrjObj,D) copies data from the data object D.

    newD = CopyData(PrjObj,I) copies data from the data object whose index is I.

    Input Arguments

    collapse all

    Data object to copy, specified as a data object.

    Index of data object to copy, specified as a real positive integer.

    Existing project, specified as a project object.

    Output Arguments

    collapse all

    Duplicate data object of D, returned as a data object. Use this syntax to duplicate data, for example, if you want to make changes for further modeling but want to retain the existing dataset.

    Version History

    Introduced before R2006a