Contents Previous Next Subchapters

Transfer Data to an O-Matrix COM Server Client
Syntax status = OMServer.GetVariant(arraySize)
See Also comgetmatrix , comnrows , and comncols

Description
Transfers data from the O-Matrix COM server to a calling client. The argument arraySize must be a positive integer that specifies the number of elements that were retrieved from O-Matrix in a previous call by GetMatrix. The arraySize value should be the product of NRows and NCols after GetMatrix has been called to retrieve a matrix.

The returned value status is an integer OM Server Status code. This value will equal 1 if this function succeeded.

Example
See the file COM\matlab\matlabIO.m in your installation directory for an example of transferring VARIANT data from O-Matrix.