2.2.16 mcopy


Menu Information

Right-click on the matrix object, select Copy to...

Brief Information

Copy data and attributes from one matrix to another

Command Line Usage

1. mcopy im:=mat(1) om:=mat(2);

2. mcopy fullcopy:=0;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Matrix im

Input

MatrixObject

<active>

Specifies the input matrix object.

Output Matrix om

Output

MatrixObject

[<input>]<new>

Specifies the output matrix object. See the syntax here.

Copy Attributes fullcopy

Input

int

1

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:

  • 0=false
  • 1=true
X Coordinate x

Input

int

0

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

0

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

0

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

0

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

0

Specifies whether to copy the formula of the input matrix to the output matrix.

Option List:

  • 0=false
  • 1=true

Description

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