MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Betriebsanweisung Seite 310

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 309
mwString GetFieldName(int index)
Purpose Return string representing name of (zero-based) field in struc t array
C++
Syntax
#include "mclcppclass. h"
const char* fields[] = {"a", "b", "c"};
mwArray a(2, 2, 3, fields);
mwString tempname = a.GetFieldName(1);
const char* name = (const char*)tempname; // Should
// return "b"
Arguments Index
Zero-based field number
Return
Value
mwString containing the field name.
Description Usethismethodtodeterminethenameofagivenfieldinastruct
array. If the underlying array is n ot of type struct, an exception is
thrown.
C-56
Seitenansicht 309
1 2 ... 305 306 307 308 309 310 311 312 313 314 315 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare