Append - Append data to data set
Syntax
D = Append(D, otherData)
Description
This is a method of mbcmodel.data.
You can use this to add new data to your existing data set, D.
otherData is the input argument holding the
extra data to add below the existing data. This argument can either
be an mbcmodel.data object or a double array. The
behavior is different depending on the type.
If otherData is an mbcmodel.data object
then Append will look for common SignalNames between
the two sets of data. If no common SignalNames are
found then a error will be thrown. Any common signals will be Appended
to the existing data and other signals will be filled with NaN.
If otherData is a double array then it must
have exactly the same number of columns as there are SignalNames in
the data, and a simple vertcat (vertical concatenation)
is applied between the existing data and otherData.
Examples
Append(D, CreateData('aDataFile.xls'));
Append(D, rand(10,100)); See Also
CreateData
 | AlternativeResponses | | AttachData |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit