CopyData - Create data object from copy of existing object
Syntax
newD = CopyData(P, D)
newD = CopyData(P, Index)
Description
This is a method of mbcmodel.project.
Use this to duplicate data, for example if you want to make
changes for further modeling but want to retain the existing data
set. You can refer to the data object either by name or index.
P is the project object.
D is the data object you want to copy.
Index is the index of the data object you
want to copy.
Examples
D2 = CopyData(P1, D1);
See Also
Data, CreateData, RemoveData
 | Constraints | | Correlation |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit