Right-click on the matrix object, select Copy to...
Copy data and attributes from one matrix to another
1. mcopy im:=mat(1) om:=mat(2);
2. mcopy fullcopy:=0;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input Matrix | im |
Input MatrixObject |
|
Specifies the input matrix object. |
Output Matrix | om |
Output MatrixObject |
|
Specifies the output matrix object. See the syntax here. |
Copy Attributes | fullcopy |
Input int |
|
Specifies whether to copy the attributes of the input matrix to the output matrix. If this variable is set to 0, only the data will be copied. Option List:
|
X Coordinate | x |
Input int |
|
Specify the x axis of the upper-left point of the region that the user interested in. Note that this variable is only used with the Region of Interest Tools. |
Y Coordinate | y |
Input int |
|
Specify the y axis of the upper-left point of the region that the user interested in. Note that this variable is only used with the Region of Interest Tools. |
ROI Width | w |
Input int |
|
Specify the width of the region that the user interested in. Note that this variable is only used with the Region of Interest Tools. |
ROI Height | h |
Input int |
|
Specify the height of the region that the user interested in. Note that this variable is only used with the Region of Interest Tools. |
Copy Formula | formula |
Input int |
|
Specifies whether to copy the formula of the input matrix to the output matrix. Option List:
|
This X-Function can be used to copy a matrix to another matrix. With the fullcopy variable, you can choose whether or not to copy the attributes/properties of the source matrix.
Keywords:sub range