MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Betriebsanweisung Seite 295

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 294
mwArray(mwSize num_dims, const mwSize* dims, int
num_fields, const char** fieldnames)
Purpose Construct n-dimensional MATLAB structure array of specified
dimensions and field names
C++
Syntax
#include "mclcppclass. h"
const char* fields[] = {"a", "b", "c"};
int dims[3] = {2, 3, 4 }
mwArray a(3, dims, 3, fields);
Arguments num_dims
Size of the dims array
dims
Dimensions of the struct array
num_fields
Number of fields in the struct array
fieldnames
Array of NULL-terminated strings representing the field names
Return
Value
None
Description Use this constructor to create an n-dimensional array of type
mxSTRUCT_CLASS, with the specified field names. All elements are
initialized with empty cells.
C-41
Seitenansicht 294
1 2 ... 290 291 292 293 294 295 296 297 298 299 300 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare