MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guida Utente Pagina 342

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 341
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
Vedere la pagina 341
1 2 ... 337 338 339 340 341 342 343 344 345 346 347 ... 353 354

Commenti su questo manuale

Nessun commento