MX_VEC – Vector data storage block

Block SymbolLicensing group: STANDARD
PIC

Function Description
The function block MX_VEC allocates memory (during the block initialization) for n elements of the type determined by the parameter etype of the vector referenced by the output yVec.

Note that the present version of the MATRIX function block set supports only vectors with the etype equal to 8: Double.

Parameters

n

Number of vector elements   1  1000000000 1.00E+01

Long (I32)

etype

Type of elements  8.00E+00

Long(I32)

1 ....

Bool

2 ....

Byte (U8)

3 ....

Short (I16)

4 ....

Long (I32)

5 ....

Word (U16)

6 ....

DWord (U32)

7 ....

Float (F32)

8 ....

Double (F64)

–- ...

10 ...

Large (I64)

Output

yVec

Output reference to a vector

Reference

2020 © REX Controls s.r.o., www.rexygen.com