Method collection/unpack
UNPACK unpacks the objects in a collection and sets them to the given output
variables.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: UNPACK unpacks the objects in a collection and sets them to the
given output variables.
CALL: [o1, o2] = unpack(in);
If you are only interested in particular outputs, you can use MATLAB's
dummy output variable. For example, suppose we have a collection object
containing 3 objects, and we only want the first and third, then we can
do:
>> [o1, ~, o3] = unpack(m)
Note: this is just a convenient wrapper around collection/getObjectAtIndex.
The output objects will be the result of calling collection/getObjectAtIndex
for the correct index. This method does not add history, instead the
history contains the call to getObjectAtIndex.
INPUTS: in - input collection object
OUTPUTS: out - output objects
Parameters Description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
collection |
Sealed |
0 |
Static |
0 |
Parameter Description
Default |
no description |
Key |
Default Value |
Options |
Description |
back to top
By Times |
no description |
Key |
Default Value |
Options |
Description |
back to top
By Offsets |
no description |
Key |
Default Value |
Options |
Description |
back to top
By Frequencies |
no description |
Key |
Default Value |
Options |
Description |
back to top
By Samples |
no description |
Key |
Default Value |
Options |
Description |
back to top
By Chunks |
no description |
Key |
Default Value |
Options |
Description |
back to top
By Interval Start/End |
no description |
Key |
Default Value |
Options |
Description |
back to top
By Interval Start/Duration |
no description |
Key |
Default Value |
Options |
Description |
back to top
By Interval Timespan |
no description |
Key |
Default Value |
Options |
Description |
back to top
Some information of the method collection/unpack are listed below: |
Class name |
collection |
Method name |
unpack |
Category |
Output |
Package name |
ltpda |
VCS Version |
8ab8cbbc4bccf7543491a24448f4aae0b1be1c43 |
Min input args |
2 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
|
Method: collection/save |
|
Method: collection/viewHistory |
 |
©LTP Team