
Contents |
Copy a matrix
1. mcopy im:=mat(1) om:=mat(2);
2. mcopy fullcopy:=0;
| 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. |
| 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.
|
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.