MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Betriebsanweisung Seite 341

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 340
operator <type>() const
Purpose Fetch single scalar value from array
C++
Syntax
#include "mclcppclass. h"
double data[4] = {1.0, 2.0, 3.0, 4.0};
double x;
mwArray a(2, 2, mxDOUBLE_CLASS);
a.SetData(data, 4);
x = (double)a(1,1); // x = 1.0
x = (double)a(1,2); // x = 3.0
x = (double)a(2,1); // x = 2.0
x = (double)a(2,2); // x = 4.0
Arguments None
Return
Value
A single s calar value from the array.
Description Use this operator to fetch a single scalar value. This operator is
overloaded for all numeric and log ical types.
C-87
Seitenansicht 340
1 2 ... 336 337 338 339 340 341 342 343 344 345 346 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare