User`s guide
static mwArray Deserialize(const mwArray& arr)
Purpose Deserialize array that was serialized with mwArra y::S erialize
C++
Syntax
#include "mclcppclass. h"
double rdata[4] = {1.0, 2.0, 3.0, 4.0};
mwArray a(1,4,mxDOUBLE _CLA SS);
a.SetData(rdata, 4);
mwArray b = a.Serialize();
a = mwArray::Deserialize(b);// a should contain same
// data as original
Arguments arr
mwArray
that has been obtained by calling mwArray::Serialize
Return
Value
AnewmwArray containing the d eserialized a rray.
Description Use this method to deserialize an array that has been serialized
with
mwArray::Serialize(). The input array must be of type
mxUINT8_CLASS and contain the data from a serialized array. If the
input data does not represent a serialized
mwArray, the behavior of
this method is undefined.
C-88