Method matrix/unpack
UNPACK unpacks the objects in a matrix and sets them to the given output
variables.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: UNPACK unpacks the objects in a matrix 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 matrix 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 matrix/getObjectAtIndex.
The output objects will be the result of calling matrix/getObjectAtIndex
for the correct index. This method does not add history, instead the
history contains the call to getObjectAtIndex.
INPUTS: in - input matrix object
OUTPUTS: out - output objects
Parameters Description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
matrix |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
Default |
no description |
Key |
Default Value |
Options |
Description |
back to top
Some information of the method matrix/unpack are listed below: |
Class name |
matrix |
Method name |
unpack |
Category |
Output |
Package name |
ltpda |
Can be used as modifier |
0 |
Supported numeric types |
{'double'} |
|
Method: matrix/toArray |
|
Method: matrix/viewHistory |
 |
©LTP Team