| MATLAB Compiler | ![]() |
static mwArray Deserialize(const mwArray& arr)
Deserialize array that has been serialized with mwArray::Serialize.
C++ syntax
#include "mclcppclass.h" double rdata[4] = {1.0, 2.0, 3.0, 4.0}; mwArray a; 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
A new mwArray containing the deserialized array.
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.
| operator <type>() const | static double GetNaN() | ![]() |
© 1994-2005 The MathWorks, Inc.