MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guida Utente Pagina 336

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 335
void SetLogicalData(mxLogical* buffer, mwSize len)
Purpose Copy data from supplied mxLog ical buffer into array
C++
Syntax
#include "mclcppclass. h"
mxLogical data[4] = {true, false, true, false};
mxLogical data_copy[4] ;
mwArray a(2, 2, mxLOGICAL_CLASS);
a.SetData(data, 4);
a.GetData(data_copy, 4);
Arguments buffer
Buffer containing data to copy
len
Maximum length of buffer. A maximum of len elements will be
copied.
Return
Value
None
Description The data is copied in column-major order. If the underlying array is not
of type
mxLOGICAL_CLASS, the data is converted to this type as it is
copied. I f a conv ersion cannot be made, an
mwException is throw n .
C-82
Vedere la pagina 335
1 2 ... 331 332 333 334 335 336 337 338 339 340 341 ... 353 354

Commenti su questo manuale

Nessun commento