MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Betriebsanweisung Seite 336

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 335
1 2 ... 331 332 333 334 335 336 337 338 339 340 341 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare